2007-02-05 Paolo Bonzini <bonzini@gnu.org>
authorPaolo Bonzini <bonzini@gnu.org>
Mon, 5 Feb 2007 18:06:44 +0000 (18:06 +0000)
committerPaolo Bonzini <bonzini@gnu.org>
Mon, 5 Feb 2007 18:06:44 +0000 (18:06 +0000)
* lib/acl.h: Include sys/types.h before sys/acl.h.

ChangeLog
lib/acl.h

index 3dc4d8c044ddf501e691e8553fb4e881923240d3..b35271054838e299f32c4e07219bc8e99a507825 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-02-05  Paolo Bonzini  <bonzini@gnu.org>
+
+       * lib/acl.h: Include sys/types.h before sys/acl.h.
+
 2007-02-05  Paolo Bonzini  <bonzini@gnu.org>
 
        Merge upstream fix for glibc bugzilla #3957:
index 11f2667e7b6ffd1b18bfcae83ba3bbd87ce11b3c..18fb7324d04babdc89bfba6e23c712c03d51ac39 100644 (file)
--- a/lib/acl.h
+++ b/lib/acl.h
@@ -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 *);