From: Bruno Haible Date: Tue, 5 Jan 2021 01:02:36 +0000 (+0100) Subject: libc-config: Avoid overriding the headers from an installed newer glibc. X-Git-Tag: v1.0~3211 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=1dd848e8a7792129984f55b317d386e36617bdb2;p=gnulib.git libc-config: Avoid overriding the headers from an installed newer glibc. Reported by Paul E Murphy in . * lib/cdefs.h: Use a different include guard than glibc's . --- diff --git a/ChangeLog b/ChangeLog index 9ebc32bea1..db0b1c1f53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2021-01-04 Bruno Haible + + libc-config: Avoid overriding the headers from an installed newer glibc. + Reported by Paul E Murphy in + . + * lib/cdefs.h: Use a different include guard than glibc's . + 2021-01-04 Simon Josefsson maintainer-makefile: Invoke syntax-checks regardless of locale. 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 . */ -#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 */