From: Roland McGrath Date: Wed, 26 Apr 1995 21:19:26 +0000 (+0000) Subject: [HAVE_UNISTD_H]: Include unistd.h so it can declare sys_siglist. X-Git-Tag: 3.73.2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbdb3653da95b07fe269ef8cc166f4d7882717b8;p=thirdparty%2Fmake.git [HAVE_UNISTD_H]: Include unistd.h so it can declare sys_siglist. --- diff --git a/signame.c b/signame.c index 4f740e7e..637b060b 100644 --- a/signame.c +++ b/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