diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-25 12:55:00 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-25 12:55:00 +0200 |
commit | 022714860f3cff7fea0a126659dd87d7ec3edbb8 (patch) | |
tree | c42884f8e03e27943a9e8b0c3fbd6c8d56698d59 | |
parent | 94f25cc670d0a9c81db75881ab7da0a4b19b9f11 (diff) | |
download | gnulib-022714860f3cff7fea0a126659dd87d7ec3edbb8.tar.gz |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | modules/dfa-tests | 1 | ||||
-rw-r--r-- | tests/test-dfa-match-aux.c | 1 |
3 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2023-04-25 Bruno Haible <bruno@clisp.org> + + 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 <bruno@clisp.org> 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 <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include <regex.h> #include <dfa.h> #include <localeinfo.h> |