diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/lib/eet_cipher.c | 4 | ||||
-rw-r--r-- | src/lib/eet_lib.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 95eb99d..6531006 100644 --- a/configure.ac +++ b/configure.ac @@ -352,7 +352,7 @@ AC_CHECK_HEADER([jpeglib.h], [dummy="yes"], [AC_MSG_ERROR("Cannot find jpeglib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file")]) -AC_CHECK_HEADERS([netinet/in.h unistd.h]) +AC_CHECK_HEADERS(netinet/in.h) EFL_CHECK_PATH_MAX ### Checks for types diff --git a/src/lib/eet_cipher.c b/src/lib/eet_cipher.c index 8c892d8..6eff8de 100644 --- a/src/lib/eet_cipher.c +++ b/src/lib/eet_cipher.c @@ -25,9 +25,9 @@ void * alloca (size_t); #include <sys/stat.h> #include <sys/mman.h> -#ifdef HAVE_UNISTD_H +#ifndef _MSC_VER # include <unistd.h> -#endif +#endif /* ifndef _MSC_VER */ #ifdef HAVE_NETINET_IN_H # include <netinet/in.h> diff --git a/src/lib/eet_lib.c b/src/lib/eet_lib.c index cd1019c..d67c5e8 100644 --- a/src/lib/eet_lib.c +++ b/src/lib/eet_lib.c @@ -34,9 +34,9 @@ void * alloca (size_t); #include <fcntl.h> #include <zlib.h> -#ifdef HAVE_UNISTD_H +#ifndef _MSC_VER # include <unistd.h> -#endif +#endif /* ifndef _MSC_VER */ #ifdef HAVE_NETINET_IN_H # include <netinet/in.h> |