diff lib/acl.h @ 8111:df08e906ce1c

2007-02-05 Paolo Bonzini <bonzini@gnu.org> * lib/acl.h: Include sys/types.h before sys/acl.h.
author Paolo Bonzini <bonzini@gnu.org>
date Mon, 05 Feb 2007 18:06:44 +0000 (2007-02-05)
parents 13e3660ac911
children bbbbbf4cd1c5
line wrap: on
line diff
--- 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 *);