Add missing include.
authorEric Blake <ebb9@byu.net>
Tue, 10 Jun 2008 12:25:20 +0000 (06:25 -0600)
committerEric Blake <ebb9@byu.net>
Tue, 10 Jun 2008 12:28:49 +0000 (06:28 -0600)
* tests/test-strstr.c (includes): Add <signal.h>.
* tests/test-strcasestr.c (includes): Likewise.
* tests/test-memmem.c (includes): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
tests/test-memmem.c
tests/test-strcasestr.c
tests/test-strstr.c

index 5269090b032c11ccf87f68dc62eb7603fad20271..21f293744485e634fe014b13f7af9c0f64eea309 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-10  Eric Blake  <ebb9@byu.net>
+
+       Add missing include.
+       * tests/test-strstr.c (includes): Add <signal.h>.
+       * tests/test-strcasestr.c (includes): Likewise.
+       * tests/test-memmem.c (includes): Likewise.
+
 2008-06-10  Bruno Haible  <bruno@clisp.org>
 
        * lib/wait-process.c (wait_subprocess): Add an assertion.
index 0061d546083aef442ac31485bac26a3b9e205b9e..e429ac096a452aadd7027032b3063e73dcb5b798 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <string.h>
 
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index 5e7fd36cdadbe0126db7b92284a347c11708374d..88798a5666d16699a8d07e366c866371a529686a 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <string.h>
 
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -42,7 +43,7 @@ main ()
 #if HAVE_DECL_ALARM
   /* Declare failure if test takes too long, by using default abort
      caused by SIGALRM.  All known platforms that lack alarm also lack
-     memmem, and the replacement memmem is known to not take too
+     strcasestr, and the replacement memmem is known to not take too
      long.  */
   signal (SIGALRM, SIG_DFL);
   alarm (50);
index 9f2ecde1aeb85cbe97f2a0828563a742e8367b7a..8a05e883758ff5f2d1a34d305357e907025aa59c 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <string.h>
 
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>