diff options
author | Roland McGrath <roland@gnu.org> | 1995-04-26 21:19:26 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-04-26 21:19:26 +0000 |
commit | 03c5716f9b0e15c87051379c663b56bdabd9c4ce (patch) | |
tree | 60d1b52b52da208f4d2192af1ee1e6e54726e589 /sysdeps | |
parent | 9266597a3cd729fd45b6973b56b19fb5384b21ee (diff) | |
download | glibc-cvs/make-3-73-2.zip glibc-cvs/make-3-73-2.tar.gz glibc-cvs/make-3-73-2.tar.bz2 |
[HAVE_UNISTD_H]: Include unistd.h so it can declare sys_siglist.cvs/make-3-73-2
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/signame.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 <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 |