From 8a4e08e8afd1603ddb3df574ff9552fb2c9b5707 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 7 Jan 2011 15:56:54 +0000 Subject: hve to revert these commits. they hve created a whole chunk of 64bit crashes on linux. this is REALLY bad. so remove these changes now. SVN revision: 55981 --- configure.ac | 2 +- src/lib/eet_cipher.c | 4 ++-- 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 #include -#ifdef HAVE_UNISTD_H +#ifndef _MSC_VER # include -#endif +#endif /* ifndef _MSC_VER */ #ifdef HAVE_NETINET_IN_H # include 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 #include -#ifdef HAVE_UNISTD_H +#ifndef _MSC_VER # include -#endif +#endif /* ifndef _MSC_VER */ #ifdef HAVE_NETINET_IN_H # include -- cgit v1.2.1