Hi,

After the change, 'acl' module fails to build:

  $ gnulib-tool --create-testdir --dir=test-acl acl
  $ cd test-acl
  $ ./configure && make
  ...
  copy-acl.c: In function 'copy_acl':
  copy-acl.c:47:17: error: 'errno' undeclared (first use in this function)
  copy-acl.c:47:17: note: each undeclared identifier is reported only once for 
each function it appears in

Paul Eggert <egg...@cs.ucla.edu> writes:

> * lib/copy-acl.c, lib/set-acl.c: Include errno,h, not acl-internal.h.
[...]
> diff --git a/lib/copy-acl.c b/lib/copy-acl.c
> index 58ff54a..bcc86b6 100644
> --- a/lib/copy-acl.c
> +++ b/lib/copy-acl.c
> @@ -21,8 +21,7 @@
>  
>  #include "acl.h"
>  
> -#include "acl-internal.h"
> -
> +#include "error.h"

Seems #include <errno.h> is also needed (same for set-acl.c).

Regards,
-- 
Daiki Ueno

Reply via email to