Reuben Thomas wrote: > This makes the build break again because of the problem I reported in > glob_pattern_p.c (see my patch for it).
Ah, I see. The macro 'weak_alias' apparently needs libc-config.h as well. 2018-08-18 Bruno Haible <br...@clisp.org> glob: Fix compilation error when glob.h is not replaced. Reported and fix proposed by Reuben Thomas <r...@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. diff --git a/lib/glob_pattern_p.c b/lib/glob_pattern_p.c index b7f19bb..70d0258 100644 --- a/lib/glob_pattern_p.c +++ b/lib/glob_pattern_p.c @@ -17,7 +17,7 @@ <https://www.gnu.org/licenses/>. */ #ifndef _LIBC -# include <config.h> +# include <libc-config.h> #endif #include <glob.h> diff --git a/modules/glob b/modules/glob index 4bf2dd2..88bfce2 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]