The sys/acl.h file on MacOS X needs sys/types.h included before it.
This patch would fix it, ok to apply?
Paolo
2007-02-05 Paolo Bonzini <[EMAIL PROTECTED]>
* lib/acl.h: Include sys/types.h before sys/acl.h.
Index: acl.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/acl.h,v
retrieving revision 1.4
diff -u -r1.4 acl.h
--- acl.h 29 Dec 2006 19:33:46 -0000 1.4
+++ acl.h 5 Feb 2007 15:59:37 -0000
@@ -18,6 +18,8 @@
Written by Paul Eggert. */
+#include <sys/types.h>
+
#if HAVE_SYS_ACL_H
# include <sys/acl.h>
#endif
@@ -25,7 +27,6 @@
# define GETACLCNT ACL_CNT
#endif
-#include <sys/types.h>
#include <sys/stat.h>
int file_has_acl (char const *, struct stat const *);
Paolo