From 0d0706a5f5e05d18ab61e7f19ca407452db68a31 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 5 Feb 2007 18:06:44 +0000 Subject: [PATCH] 2007-02-05 Paolo Bonzini * lib/acl.h: Include sys/types.h before sys/acl.h. --- ChangeLog | 4 ++++ lib/acl.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3dc4d8c044..b352710548 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-02-05 Paolo Bonzini + + * lib/acl.h: Include sys/types.h before sys/acl.h. + 2007-02-05 Paolo Bonzini Merge upstream fix for glibc bugzilla #3957: diff --git a/lib/acl.h b/lib/acl.h index 11f2667e7b..18fb7324d0 100644 --- a/lib/acl.h +++ b/lib/acl.h @@ -18,6 +18,8 @@ Written by Paul Eggert. */ +#include + #if HAVE_SYS_ACL_H # include #endif @@ -25,7 +27,6 @@ # define GETACLCNT ACL_CNT #endif -#include #include int file_has_acl (char const *, struct stat const *); -- 2.30.2