acl: include quote.h
authorMike Frysinger <vapier@gentoo.org>
Tue, 7 May 2013 18:22:09 +0000 (14:22 -0400)
committerEric Blake <eblake@redhat.com>
Tue, 7 May 2013 19:25:52 +0000 (13:25 -0600)
These files use quote(), so include quote.h for it otherwise we fail to
build with errors like:
copy-acl.c: In function 'copy_acl':
copy-acl.c:51:7: error: implicit declaration of function 'quote'
[-Werror=implicit-function-declaration]

* lib/copy-acl.c: Include quote.h.
* lib/set-acl.c: Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/copy-acl.c
lib/set-acl.c

index 82e5767..3275621 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-07  Mike Frysinger  <vapier@gentoo.org>
+
+       acl: include quote.h
+       * lib/copy-acl.c: Include quote.h.
+       * lib/set-acl.c: Likewise.
+
 2013-05-06  Mike Frysinger  <vapier@gentoo.org>
 
        fchownat, renameat, unlinkat: update statat dependencies
index 55799a8..b4ebf7e 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <errno.h>
 
+#include "quote.h"
 #include "error.h"
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
index 7600f60..a2a88a9 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <errno.h>
 
+#include "quote.h"
 #include "error.h"
 #include "gettext.h"
 #define _(msgid) gettext (msgid)