Modified: trunk/configure.ac (68 => 69)
--- trunk/configure.ac 2009-10-28 11:22:58 UTC (rev 68)
+++ trunk/configure.ac 2009-10-28 14:46:22 UTC (rev 69)
@@ -165,6 +165,11 @@
AC_CHECK_DECLS([VQ_UPDATE, VQ_VERYLOWDISK], [], [], [[#include <sys/mount.h>]])
AC_CHECK_FUNCS([pthread_key_init_np pthread_main_np mach_absolute_time malloc_create_zone sem_init])
+AC_CHECK_HEADERS([sys/cdefs.h], [], [],
+ [#ifdef HAVE_SYS_CDEFS_H
+ #include <sys/cdefs.h>
+ #endif])
+
DISPATCH_C_PRIVATE_EXTERN
DISPATCH_C_BLOCKS
Modified: trunk/src/internal.h (68 => 69)
--- trunk/src/internal.h 2009-10-28 11:22:58 UTC (rev 68)
+++ trunk/src/internal.h 2009-10-28 14:46:22 UTC (rev 69)
@@ -91,7 +91,6 @@
#include <sys/queue.h>
#include <sys/stat.h>
#include <sys/sysctl.h>
-#include <sys/syslimits.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netinet/in.h>
@@ -104,6 +103,7 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <search.h>
#if !defined(HAVE_MACH) && defined(HAVE_SEM_INIT)
#include <semaphore.h>