Permalink
Browse files

2007-02-05 Paolo Bonzini <bonzini@gnu.org>

	* lib/acl.h: Include sys/types.h before sys/acl.h.
  • Loading branch information...
bonzini committed Feb 5, 2007
1 parent d622258 commit 0d0706a5f5e05d18ab61e7f19ca407452db68a31
Showing with 6 additions and 1 deletion.
  1. +4 −0 ChangeLog
  2. +2 −1 lib/acl.h
View
@@ -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:
View
@@ -18,14 +18,15 @@
Written by Paul Eggert. */
+#include <sys/types.h>
+
#if HAVE_SYS_ACL_H
# include <sys/acl.h>
#endif
#if defined HAVE_ACL && ! defined GETACLCNT && defined ACL_CNT
# define GETACLCNT ACL_CNT
#endif
-#include <sys/types.h>
#include <sys/stat.h>
int file_has_acl (char const *, struct stat const *);

0 comments on commit 0d0706a

Please sign in to comment.