summaryrefslogtreecommitdiff
path: root/signame.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-04-26 21:19:26 +0000
committerRoland McGrath <roland@redhat.com>1995-04-26 21:19:26 +0000
commitcbdb3653da95b07fe269ef8cc166f4d7882717b8 (patch)
treef5d6481a49731a30c33b6b6c2c559506b31e6759 /signame.c
parent5d82479d89d0cce0359fa013e705059f6727676f (diff)
downloadgunmake-cbdb3653da95b07fe269ef8cc166f4d7882717b8.tar.gz
[HAVE_UNISTD_H]: Include unistd.h so it can declare sys_siglist.
Diffstat (limited to 'signame.c')
-rw-r--r--signame.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/signame.c b/signame.c
index 4f740e7..637b060 100644
--- a/signame.c
+++ b/signame.c
@@ -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