changeset 10195:cc40656bc64e

Add missing include. * 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>
author Eric Blake <ebb9@byu.net>
date Tue, 10 Jun 2008 06:25:20 -0600
parents 8297e6235e2d
children a59b1061e84a
files ChangeLog tests/test-memmem.c tests/test-strcasestr.c tests/test-strstr.c
diffstat 4 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jun 10 13:57:21 2008 +0200
+++ b/ChangeLog	Tue Jun 10 06:25:20 2008 -0600
@@ -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.
--- a/tests/test-memmem.c	Tue Jun 10 13:57:21 2008 +0200
+++ b/tests/test-memmem.c	Tue Jun 10 06:25:20 2008 -0600
@@ -19,6 +19,7 @@
 
 #include <string.h>
 
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
--- a/tests/test-strcasestr.c	Tue Jun 10 13:57:21 2008 +0200
+++ b/tests/test-strcasestr.c	Tue Jun 10 06:25:20 2008 -0600
@@ -20,6 +20,7 @@
 
 #include <string.h>
 
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -42,7 +43,7 @@
 #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);
--- a/tests/test-strstr.c	Tue Jun 10 13:57:21 2008 +0200
+++ b/tests/test-strstr.c	Tue Jun 10 06:25:20 2008 -0600
@@ -19,6 +19,7 @@
 
 #include <string.h>
 
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>