diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-12-29 19:33:46 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-12-29 19:33:46 +0000 |
commit | c1c022da45f67cf61e9993a08b5a80a6f30578bb (patch) | |
tree | eb648afb297b11bdcff1081e67e068e26d95a44a /lib/acl.h | |
parent | df6e14c307f2a7ca93c3827f973985669f853b42 (diff) | |
download | gnulib-c1c022da45f67cf61e9993a08b5a80a6f30578bb.tar.gz |
* lib/acl.h: Include sys/types.h and sys/stat.h, for mode_t and
struct stat. Problem reported by Henning Nielsen Lund.
* lib/acl.c: Include acl.h first, to check interface. Don't
bother to include sys/types.h and sys/stat.h again.
Diffstat (limited to 'lib/acl.h')
-rw-r--r-- | lib/acl.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,9 @@ # define GETACLCNT ACL_CNT #endif +#include <sys/types.h> +#include <sys/stat.h> + int file_has_acl (char const *, struct stat const *); int copy_acl (char const *, int, char const *, int, mode_t); int set_acl (char const *, int, mode_t); |