From: Bruno Haible Date: Sat, 14 May 2022 20:34:12 +0000 (+0200) Subject: glob tests: Fix a warning (regression from 2022-03-23). X-Git-Tag: v1.0~2290 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=754d33cbd78bb93831a812c2853bb49eea0698ae;p=gnulib.git glob tests: Fix a warning (regression from 2022-03-23). * tests/test-glob.c: Include . * modules/glob-tests (Depends-on): Add fcntl-h. --- diff --git a/ChangeLog b/ChangeLog index 0bd1ad0388..42f7e2cc54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-05-14 Bruno Haible + + glob tests: Fix a warning (regression from 2022-03-23). + * tests/test-glob.c: Include . + * modules/glob-tests (Depends-on): Add fcntl-h. + 2022-05-14 Bruno Haible termcap: Fix link error when no suitable library is found. diff --git a/modules/glob-tests b/modules/glob-tests index ec519cf38d..afce2dbca0 100644 --- a/modules/glob-tests +++ b/modules/glob-tests @@ -4,6 +4,7 @@ tests/signature.h tests/macros.h Depends-on: +fcntl-h symlink configure.ac: diff --git a/tests/test-glob.c b/tests/test-glob.c index 568acf14b7..61c7ca4583 100644 --- a/tests/test-glob.c +++ b/tests/test-glob.c @@ -26,6 +26,7 @@ SIGNATURE_CHECK (glob, int, (char const *, int, int (*) (char const *, int), SIGNATURE_CHECK (globfree, void, (glob_t *)); #include +#include #include #include