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: cvs/make-3-73-2 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=03c5716f9b0e15c87051379c663b56bdabd9c4ce;p=glibc.git [HAVE_UNISTD_H]: Include unistd.h so it can declare sys_siglist. --- 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