diff options
author | Carsten Haitzler <raster@rasterman.com> | 2011-01-07 15:56:54 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2011-01-07 15:56:54 +0000 |
commit | 8a4e08e8afd1603ddb3df574ff9552fb2c9b5707 (patch) | |
tree | 2fdd34eaa556fe0c7c665dcbd4a54552c605d59b | |
parent | ca0bda7a4e5d0ca4ec41d0ccb66dd6da97b7bb70 (diff) | |
download | eet-8a4e08e8afd1603ddb3df574ff9552fb2c9b5707.tar.gz |
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
-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> |