diff options
-rw-r--r-- | include/string.h | 1 | ||||
-rw-r--r-- | src/string/strsignal.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h index dfe142a2..00c8e8ff 100644 --- a/include/string.h +++ b/include/string.h @@ -56,6 +56,7 @@ char *stpncpy(char *, const char *, size_t); size_t strnlen (const char *, size_t); char *strdup (const char *); char *strndup (const char *, size_t); +char *strsignal(int); #endif #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) diff --git a/src/string/strsignal.c b/src/string/strsignal.c index 72fba8d1..3b0ae6d7 100644 --- a/src/string/strsignal.c +++ b/src/string/strsignal.c @@ -1,4 +1,5 @@ #include <signal.h> +#include <string.h> #if (SIGHUP == 1) && (SIGINT == 2) && (SIGQUIT == 3) && (SIGILL == 4) \ && (SIGTRAP == 5) && (SIGABRT == 6) && (SIGBUS == 7) && (SIGFPE == 8) \ |