From 03c5716f9b0e15c87051379c663b56bdabd9c4ce Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 26 Apr 1995 21:19:26 +0000 Subject: [HAVE_UNISTD_H]: Include unistd.h so it can declare sys_siglist. --- sysdeps/generic/signame.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sysdeps/generic/signame.c b/sysdeps/generic/signame.c index 4f740e7e71..637b060bf5 100644 --- a/sysdeps/generic/signame.c +++ b/sysdeps/generic/signame.c @@ -23,6 +23,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #endif +/* Some systems declare `sys_siglist in ; if + configure defined SYS_SIGLIST_DECLARED, it may expect + to find the declaration there. */ +#ifdef HAVE_UNISTD_H +#include +#endif + + /* Some systems do not define NSIG in . */ #ifndef NSIG #ifdef _NSIG -- cgit v1.2.3