bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] acl: include quote.h


From: Mike Frysinger
Subject: [PATCH] acl: include quote.h
Date: Tue, 7 May 2013 14:22:09 -0400

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.
---
 lib/copy-acl.c | 1 +
 lib/set-acl.c  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lib/copy-acl.c b/lib/copy-acl.c
index 55799a8..b4ebf7e 100644
--- a/lib/copy-acl.c
+++ b/lib/copy-acl.c
@@ -23,6 +23,7 @@
 
 #include <errno.h>
 
+#include "quote.h"
 #include "error.h"
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
diff --git a/lib/set-acl.c b/lib/set-acl.c
index 7600f60..a2a88a9 100644
--- a/lib/set-acl.c
+++ b/lib/set-acl.c
@@ -23,6 +23,7 @@
 
 #include <errno.h>
 
+#include "quote.h"
 #include "error.h"
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
-- 
1.8.2.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]