[HAVE_UNISTD_H]: Include unistd.h so it can declare sys_siglist.
authorRoland McGrath <roland@gnu.org>
Wed, 26 Apr 1995 21:19:26 +0000 (21:19 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 26 Apr 1995 21:19:26 +0000 (21:19 +0000)
sysdeps/generic/signame.c

index 4f740e7..637b060 100644 (file)
@@ -23,6 +23,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <config.h>
 #endif
 
+/* Some systems declare `sys_siglist in <unistd.h>; if
+   configure defined SYS_SIGLIST_DECLARED, it may expect
+   to find the declaration there.  */
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+
 /* Some systems do not define NSIG in <signal.h>.  */
 #ifndef        NSIG
 #ifdef _NSIG