Mercurial > hg > octave-shane > gnulib-hg
changeset 7764:13e3660ac911
* 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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 29 Dec 2006 19:33:46 +0000 |
parents | e75fbbb13ac0 |
children | 97165351124b |
files | ChangeLog lib/acl.c lib/acl.h |
diffstat | 3 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-12-29 Paul Eggert <eggert@cs.ucla.edu> + + * 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. + 2006-12-28 Paul Eggert <eggert@cs.ucla.edu> Import the following change from libc; problem reported by
--- a/lib/acl.c +++ b/lib/acl.c @@ -20,11 +20,11 @@ #include <config.h> +#include "acl.h" + #include <stdbool.h> #include <stdlib.h> #include <string.h> -#include <sys/types.h> -#include <sys/stat.h> #ifndef S_ISLNK # define S_ISLNK(Mode) 0 #endif @@ -33,7 +33,6 @@ # include <acl/libacl.h> #endif -#include "acl.h" #include "error.h" #include "quote.h"