diff options
-rw-r--r-- | catalog.c | 2 | ||||
-rw-r--r-- | nanoftp.c | 2 | ||||
-rw-r--r-- | nanohttp.c | 2 | ||||
-rw-r--r-- | xzlib.c | 2 |
4 files changed, 8 insertions, 0 deletions
@@ -23,6 +23,8 @@ #endif #ifdef HAVE_UNISTD_H #include <unistd.h> +#elif defined (_WIN32) +#include <io.h> #endif #ifdef HAVE_FCNTL_H #include <fcntl.h> @@ -23,6 +23,8 @@ #ifdef HAVE_UNISTD_H #include <unistd.h> +#elif defined (_WIN32) +#include <io.h> #endif #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> @@ -22,6 +22,8 @@ #ifdef HAVE_UNISTD_H #include <unistd.h> +#elif defined (_WIN32) +#include <io.h> #endif #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> @@ -22,6 +22,8 @@ #endif #ifdef HAVE_UNISTD_H #include <unistd.h> +#elif defined (_WIN32) +#include <io.h> #endif #ifdef LIBXML_ZLIB_ENABLED #include <zlib.h> |