Create our own sys_siglist for systems without it for use by strsignal()

This commit is contained in:
Todd C. Miller
2010-04-02 07:47:19 -04:00
parent d83ebba560
commit 8c91f0a30c
9 changed files with 325 additions and 48 deletions

View File

@@ -75,7 +75,7 @@ int setenv(const char *, const char *, int);
#ifndef HAVE_UNSETENV
int unsetenv(const char *);
#endif
#if defined(HAVE_DECL_SYS_SIGLIST) || defined(HAVE_DECL__SYS_SIGLIST) || defined(HAVE_DECL___SYS_SIGLIST)
#ifndef HAVE_STRSIGNAL
char *strsignal(int);
#endif
#ifndef HAVE_STRDUP