> 2021-01-04 Bruno Haible <br...@clisp.org> > > libc-config: Avoid overriding the headers from an installed newer glibc. > Reported by Paul E Murphy <murp...@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>.
Oops, that patch was incomplete. Also needed is: diff --git a/lib/libc-config.h b/lib/libc-config.h index dff0b3e..fbea948 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 <sys/cdefs.h>, 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