summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-08-18 23:32:14 +0200
committerBruno Haible <bruno@clisp.org>2018-08-18 23:33:02 +0200
commit35d328144bd3282d1de6d16a67a04a70146315ac (patch)
tree7f7037cf6a19ade7364e2907ed25223c50fdd6bf
parentc2ec61d9a534947b5a8cf9b51fba30aec32f70cb (diff)
downloadgnulib-35d328144bd3282d1de6d16a67a04a70146315ac.tar.gz
glob: Fix another compilation error when glob.h is not replaced.
Reported and fix proposed by Reuben Thomas <rrt@sc3d.org> again. * lib/globfree.c: Include <libc-config.h>.
-rw-r--r--ChangeLog6
-rw-r--r--lib/globfree.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 96c57a40bf..fa281b1606 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2018-08-18 Bruno Haible <bruno@clisp.org>
+ glob: Fix another compilation error when glob.h is not replaced.
+ Reported and fix proposed by Reuben Thomas <rrt@sc3d.org> again.
+ * lib/globfree.c: Include <libc-config.h>.
+
+2018-08-18 Bruno Haible <bruno@clisp.org>
+
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>.
diff --git a/lib/globfree.c b/lib/globfree.c
index b56ab28a18..def36e6329 100644
--- a/lib/globfree.c
+++ b/lib/globfree.c
@@ -17,7 +17,7 @@
<https://www.gnu.org/licenses/>. */
#ifndef _LIBC
-# include <config.h>
+# include <libc-config.h>
#endif
#include <glob.h>