summaryrefslogtreecommitdiff
path: root/gl/lib/fnmatch.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/fnmatch.in.h')
-rw-r--r--gl/lib/fnmatch.in.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/lib/fnmatch.in.h b/gl/lib/fnmatch.in.h
index a282c09f..144143b7 100644
--- a/gl/lib/fnmatch.in.h
+++ b/gl/lib/fnmatch.in.h
@@ -1,5 +1,5 @@
/* Substitute for and wrapper around <fnmatch.h>.
- Copyright (C) 1991-1993, 1996-1999, 2001-2003, 2005, 2007, 2009-2022 Free
+ Copyright (C) 1991-1993, 1996-1999, 2001-2003, 2005, 2007, 2009-2023 Free
Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -32,6 +32,11 @@
#ifndef _@GUARD_PREFIX@_FNMATCH_H
#define _@GUARD_PREFIX@_FNMATCH_H
+/* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
/* The definition of _GL_ARG_NONNULL is copied here. */