Discuss here different C compiler set ups, and compiling executables for the ESP8266
User avatar
By i386
#74348 Hi

I'm trying to port the following library over to Arduino/Sketch - https://github.com/hkr/fuji-cam-wifi-to ... e/comm.hpp

In the comm.cpp its unable to find three header files

#if FCWT_USE_BSD_SOCKETS
#include <arpa/inet.h> //Arduino Sketch unable to find the header file
#include <sys/types.h>
#include <sys/socket.h> //Arduino Sketch unable to find the header file
#include <sys/select.h> //Arduino Sketch unable to find the header file
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#elif FCWT_USE_WINSOCK
#define NOMINMAX
#include <winsock2.h>
#include <Ws2tcpip.h>
#endif

Any ideas how I could fix or add in the files?

Thanks,
Gavin