summaryrefslogtreecommitdiff
path: root/modules/glob
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-08-18 22:44:28 +0200
committerBruno Haible <bruno@clisp.org>2018-08-18 22:44:28 +0200
commitc2ec61d9a534947b5a8cf9b51fba30aec32f70cb (patch)
tree2eb921d5c2ff7be1bde0c756c585ceab0c76014e /modules/glob
parent2c578fe339cdcf863c54ce4d10213d654c8b3077 (diff)
downloadgnulib-c2ec61d9a534947b5a8cf9b51fba30aec32f70cb.tar.gz
glob: Fix compilation error when glob.h is not replaced.
Reported and fix proposed by Reuben Thomas <rrt@sc3d.org> in <https://lists.gnu.org/archive/html/bug-gnulib/2018-08/msg00096.html>. * lib/glob_pattern_p.c: Include <libc-config.h>. * modules/glob (Depends-on): Add libc-config.
Diffstat (limited to 'modules/glob')
-rw-r--r--modules/glob1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/glob b/modules/glob
index 4bf2dd2eac..88bfce2301 100644
--- a/modules/glob
+++ b/modules/glob
@@ -20,6 +20,7 @@ d-type [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
flexmember [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
fnmatch [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
getlogin_r [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
+libc-config [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
memchr [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
mempcpy [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
opendir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]