From 494fea035166a4947db72bd23161faa1f1733708 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 24 Feb 2021 10:52:59 -0800 Subject: [PATCH 1/2] glob: include libc-config.h in a more-standard way MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inspired by Tom Tromey’s report for RHEL 6 in: https://lists.gnu.org/r/bug-gnulib/2021-02/msg00088.html * lib/glob.c [!_LIBC]: Include libc-config.h, not just config.h --- ChangeLog | 7 +++++++ lib/glob.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bbc8adf4b..3b78c47a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2021-02-24 Paul Eggert + + glob: include libc-config.h in a more-standard way + Inspired by Tom Tromey’s report for RHEL 6 in: + https://lists.gnu.org/r/bug-gnulib/2021-02/msg00088.html + * lib/glob.c [!_LIBC]: Include libc-config.h, not just config.h + 2021-02-21 Bruno Haible string-buffer: Add tests. diff --git a/lib/glob.c b/lib/glob.c index 32c88e5d1..775911ef5 100644 --- a/lib/glob.c +++ b/lib/glob.c @@ -21,7 +21,7 @@ optimizes away the pattern == NULL test below. */ # define _GL_ARG_NONNULL(params) -# include +# include #endif -- 2.27.0