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: upstream/2.30~30035 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03c5716f9b0e15c87051379c663b56bdabd9c4ce;p=external%2Fglibc.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 4f740e7..637b060b 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