Test HAVE_SYS_CDEFS_H before including cdefs.h in private headers. Submitted by: Joakim Johansson <jocke@tbricks.com>
--- trunk/src/private.h 2009-11-05 16:51:30 UTC (rev 140)
+++ trunk/src/private.h 2009-11-06 22:28:01 UTC (rev 141)
@@ -33,7 +33,9 @@
#include <mach/message.h>
#endif
#include <unistd.h>
+#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
+#endif
#include <pthread.h>
#ifndef __DISPATCH_BUILDING_DISPATCH__