]> Savannah Git Hosting - gnulib.git/commitdiff
dfa tests: Fix compilation error (regression 2023-04-22).
authorBruno Haible <bruno@clisp.org>
Tue, 25 Apr 2023 10:55:00 +0000 (12:55 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 25 Apr 2023 10:55:00 +0000 (12:55 +0200)
* tests/test-dfa-match-aux.c: Include unistd.h.
* modules/dfa-tests (Depends-on): Add unistd.

ChangeLog
modules/dfa-tests
tests/test-dfa-match-aux.c

index 2ecdc4751272f5d71b1894153c1b85e973fa64f3..96ffb4228544bc19a1431ed61bc189cd18aacaba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index c4585fdf45c4acff27efe71fc637c95fe8fa7b22..982d3701712678f5ce4bd5421eb0e4e403367cc1 100644 (file)
@@ -9,6 +9,7 @@ binary-io
 stdio
 stdlib
 string
+unistd
 regex
 
 configure.ac:
index cef29e6a83d985c1f713e76025c47a2f3546995e..bbe246836e32b26b64b1baf954ab771a5617029a 100644 (file)
@@ -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>