From: Bruno Haible Date: Tue, 25 Apr 2023 10:55:00 +0000 (+0200) Subject: dfa tests: Fix compilation error (regression 2023-04-22). X-Git-Tag: v1.0~1379 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=022714860f3cff7fea0a126659dd87d7ec3edbb8;p=gnulib.git dfa tests: Fix compilation error (regression 2023-04-22). * tests/test-dfa-match-aux.c: Include unistd.h. * modules/dfa-tests (Depends-on): Add unistd. --- diff --git a/ChangeLog b/ChangeLog index 2ecdc47512..96ffb42285 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-04-25 Bruno Haible + + dfa tests: Fix compilation error (regression 2023-04-22). + * tests/test-dfa-match-aux.c: Include unistd.h. + * modules/dfa-tests (Depends-on): Add unistd. + 2023-04-24 Bruno Haible tests: Suppress ‘#pragma GCC diagnostic’ warnings with GCC < 13. diff --git a/modules/dfa-tests b/modules/dfa-tests index c4585fdf45..982d370171 100644 --- a/modules/dfa-tests +++ b/modules/dfa-tests @@ -9,6 +9,7 @@ binary-io stdio stdlib string +unistd regex configure.ac: diff --git a/tests/test-dfa-match-aux.c b/tests/test-dfa-match-aux.c index cef29e6a83..bbe246836e 100644 --- a/tests/test-dfa-match-aux.c +++ b/tests/test-dfa-match-aux.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include