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 3dc4d8c..b352710 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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:
 
        2007-02-05  Jakub Jelinek  <jakub@redhat.com>
index 11f2667..18fb732 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 *);