From 9a6782ac052fc3b07349fb8e0c08b7d5060d403d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 5 Jan 2021 04:12:08 +0100 Subject: [PATCH] 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 . * lib/libc-config.h: Update accordingly. --- ChangeLog | 1 + lib/libc-config.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index db0b1c1f53..7ccc4e8b8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ Reported by Paul E Murphy in . * lib/cdefs.h: Use a different include guard than glibc's . + * lib/libc-config.h: Update accordingly. 2021-01-04 Simon Josefsson diff --git a/lib/libc-config.h b/lib/libc-config.h index dff0b3ed8d..fbea948e63 100644 --- a/lib/libc-config.h +++ b/lib/libc-config.h @@ -89,7 +89,7 @@ /* Undef the macros unconditionally defined by our copy of glibc , so that they do not clash with any system-defined versions. */ -#undef _SYS_CDEFS_H +#undef _GL_CDEFS_H #undef __ASMNAME #undef __ASMNAME2 #undef __BEGIN_DECLS -- 2.39.5