# HG changeset patch # User Dave Love # Date 1055455998 0 # Node ID d84e9160d86962a9475a748d1884514ce92b8d08 # Parent 34f0347e6e45f0e2ff9e0183fdaf499bc77c884d Remove redundant include of unistd.h, stdlib.h. Use HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED. diff -r 34f0347e6e45 -r d84e9160d869 src/sysdep.c --- a/src/sysdep.c Thu Jun 12 22:09:14 2003 +0000 +++ b/src/sysdep.c Thu Jun 12 22:13:18 2003 +0000 @@ -85,15 +85,6 @@ #include #include -/* Get _POSIX_VDISABLE, if it is available. */ -#ifdef HAVE_UNISTD_H -#include -#endif - -#ifdef HAVE_STDLIB_H -#include -#endif - #ifdef HAVE_SETPGID #if !defined (USG) || defined (BSD_PGRPS) #undef setpgrp @@ -2845,7 +2836,7 @@ #endif /* POSIX_SIGNALS */ -#if !defined HAVE_STRSIGNAL && !defined SYS_SIGLIST_DECLARED +#if !defined HAVE_STRSIGNAL && !HAVE_DECL_SYS_SIGLIST static char *my_sys_siglist[NSIG]; # ifdef sys_siglist # undef sys_siglist @@ -2861,7 +2852,7 @@ sigfillset (&full_mask); #endif -#if !defined HAVE_STRSIGNAL && !defined SYS_SIGLIST_DECLARED +#if !defined HAVE_STRSIGNAL && !HAVE_DECL_SYS_SIGLIST if (! initialized) { # ifdef SIGABRT @@ -3021,7 +3012,7 @@ sys_siglist[SIGXFSZ] = "File size limit exceeded"; # endif } -#endif /* !defined HAVE_STRSIGNAL && !defined SYS_SIGLIST_DECLARED */ +#endif /* !defined HAVE_STRSIGNAL && !defined HAVE_DECL_SYS_SIGLIST */ } #ifndef HAVE_RANDOM