diff options
Diffstat (limited to 'util/include')
-rw-r--r-- | util/include/platforms/unix/axutil_unix.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/include/platforms/unix/axutil_unix.h b/util/include/platforms/unix/axutil_unix.h index 7a5c084..1829e06 100644 --- a/util/include/platforms/unix/axutil_unix.h +++ b/util/include/platforms/unix/axutil_unix.h @@ -104,7 +104,6 @@ extern "C" #include <sys/time.h> #include <sys/timeb.h> - /*#include <unistd.h> */ #include <errno.h> #include <sys/param.h> #include <stdio.h> @@ -122,9 +121,9 @@ extern "C" #include "axutil_date_time_util_unix.h" /* for file access handling */ -#ifdef HAVE_UNISTD_H +#ifdef HAVE_UNISTD_H && !defined __APPLE__ #include <unistd.h> -#endif /*HAVE_UNISTD_H */ +#endif /*HAVE_UNISTD_H && !defined __APPLE__*/ /* network handling */ #include <sys/socket.h> |