--- embedaddon/lighttpd/src/sys-socket.h 2013/10/14 10:32:47 1.1.1.1 +++ embedaddon/lighttpd/src/sys-socket.h 2016/11/02 10:35:00 1.1.1.2 @@ -1,5 +1,6 @@ #ifndef WIN32_SOCKET_H #define WIN32_SOCKET_H +#include "first.h" #ifdef __WIN32 @@ -20,6 +21,11 @@ #include #include + +#ifdef HAVE_SYS_FILIO_H +#include /* FIONREAD (for illumos (OpenIndiana)) */ +#endif + #endif #endif