[libdispatch-changes] [141] trunk/src/private.h

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 6 14:28:03 PST 2009


Revision: 141
          http://trac.macosforge.org/projects/libdispatch/changeset/141
Author:   robert at fledge.watson.org
Date:     2009-11-06 14:28:01 -0800 (Fri, 06 Nov 2009)
Log Message:
-----------
Test HAVE_SYS_CDEFS_H before including cdefs.h in private headers.

Submitted by:	Joakim Johansson <jocke at tbricks.com>

Modified Paths:
--------------
    trunk/src/private.h

Modified: trunk/src/private.h
===================================================================
--- 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__
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/libdispatch-changes/attachments/20091106/4906579a/attachment.html>


More information about the libdispatch-changes mailing list