summaryrefslogtreecommitdiff
path: root/lib/file-has-acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/file-has-acl.c')
-rw-r--r--lib/file-has-acl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/file-has-acl.c b/lib/file-has-acl.c
index 898fb030d1d..06759a4948c 100644
--- a/lib/file-has-acl.c
+++ b/lib/file-has-acl.c
@@ -17,14 +17,14 @@
Written by Paul Eggert, Andreas Grünbacher, and Bruno Haible. */
+#include <config.h>
+
/* Without this pragma, gcc 4.7.0 20120126 may suggest that the
file_has_acl function might be candidate for attribute 'const' */
-#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__
+#if _GL_GNUC_PREREQ (4, 6)
# pragma GCC diagnostic ignored "-Wsuggest-attribute=const"
#endif
-#include <config.h>
-
#include "acl.h"
#include "acl-internal.h"