summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-01-05 02:02:36 +0100
committerBruno Haible <bruno@clisp.org>2021-01-05 02:07:02 +0100
commit1dd848e8a7792129984f55b317d386e36617bdb2 (patch)
tree6542a4114e8a1ed282e0183d004a620f7b54b7ee /lib
parentcc4e07d3e8405e8cdf887d840fca6dc52b9e12fe (diff)
downloadgnulib-1dd848e8a7792129984f55b317d386e36617bdb2.tar.gz
libc-config: Avoid overriding the headers from an installed newer glibc.
Reported by Paul E Murphy <murphyp@linux.ibm.com> in <https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00106.html>. * lib/cdefs.h: Use a different include guard than glibc's <sys/cdefs.h>.
Diffstat (limited to 'lib')
-rw-r--r--lib/cdefs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/cdefs.h b/lib/cdefs.h
index 6b1cf233d6..fd72b7b4de 100644
--- a/lib/cdefs.h
+++ b/lib/cdefs.h
@@ -15,8 +15,8 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#ifndef _SYS_CDEFS_H
-#define _SYS_CDEFS_H 1
+#ifndef _GL_CDEFS_H
+#define _GL_CDEFS_H 1
/* We are almost always included from features.h. */
#ifndef _FEATURES_H
@@ -545,4 +545,4 @@
# define __HAVE_GENERIC_SELECTION 0
#endif
-#endif /* sys/cdefs.h */
+#endif /* gnulib cdefs.h */