Adjust to work with new autoconf macros, AC_FUNC_MALLOC
[gnulib.git] / lib / sig2str.c
index 1edc9f1..329b4ac 100644 (file)
 #include <stdio.h>
 #include <string.h>
 
-#if HAVE_SYS_WAIT_H
-# include <sys/wait.h>
-#endif
-#ifndef WTERMSIG
-# define WTERMSIG(s) ((s) & 0x7F)
-#endif
-
 #include "sig2str.h"
 
 #ifndef SIGRTMIN
@@ -224,7 +217,7 @@ static struct numname { int num; char const name[8]; } numname_table[] =
 #endif
 
     /* Older AIX versions.  */
-#ifdef SIGALRM1 
+#ifdef SIGALRM1
     NUMNAME (ALRM1),   /* unknown; taken from Bash 2.05 */
 #endif
 #ifdef SIGKAP