changeset 17385:239b8a8792bf

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.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 30 Apr 2013 09:01:58 -0700
parents 160b88fd4691
children 66c5e33ff0ba
files ChangeLog lib/copy-acl.c lib/set-acl.c
diffstat 3 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/lib/copy-acl.c
+++ b/lib/copy-acl.c
@@ -21,6 +21,8 @@
 
 #include "acl.h"
 
+#include <errno.h>
+
 #include "error.h"
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
--- a/lib/set-acl.c
+++ b/lib/set-acl.c
@@ -21,6 +21,8 @@
 
 #include "acl.h"
 
+#include <errno.h>
+
 #include "error.h"
 #include "gettext.h"
 #define _(msgid) gettext (msgid)