acl: include errno.h to get errno
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Apr 2013 16:01:58 +0000 (09:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Apr 2013 16:02:20 +0000 (09:02 -0700)
Reported by Daiki Ueno in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-04/msg00073.html>.
* lib/copy-acl.c, lib/set-acl.c: Include errno.h.

ChangeLog
lib/copy-acl.c
lib/set-acl.c

index 2c99aa2..f44b450 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-04-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       acl: include errno.h to get errno
+       Reported by Daiki Ueno in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2013-04/msg00073.html>.
+       * lib/copy-acl.c, lib/set-acl.c: Include errno.h.
+
 2013-04-29  Paul Eggert  <eggert@cs.ucla.edu>
 
        tests: don't assume getdtablesize () <= 10000000
index bcc86b6..55799a8 100644 (file)
@@ -21,6 +21,8 @@
 
 #include "acl.h"
 
+#include <errno.h>
+
 #include "error.h"
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
index f41ad82..7600f60 100644 (file)
@@ -21,6 +21,8 @@
 
 #include "acl.h"
 
+#include <errno.h>
+
 #include "error.h"
 #include "gettext.h"
 #define _(msgid) gettext (msgid)