]> Savannah Git Hosting - gnulib.git/commitdiff
glob: include libc-config.h in a more-standard way
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Feb 2021 18:52:59 +0000 (10:52 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Feb 2021 18:53:29 +0000 (10:53 -0800)
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
lib/glob.c

index bbc8adf4bec9ae5ea304bd97c33183c395d8d27f..3b78c47a6ba21ddab8ad1d62cd6411429f6290a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-02-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <bruno@clisp.org>
 
        string-buffer: Add tests.
index 32c88e5d1555a9df84cb15d21150e968399c111b..775911ef5b74fe3d85a514b0670c80066178695a 100644 (file)
@@ -21,7 +21,7 @@
    optimizes away the pattern == NULL test below.  */
 # define _GL_ARG_NONNULL(params)
 
-# include <config.h>
+# include <libc-config.h>
 
 #endif