aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auto.def2
-rw-r--r--jim-signal.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index b972dfa..162f7d2 100644
--- a/auto.def
+++ b/auto.def
@@ -236,7 +236,7 @@ if {[opt-bool coverage]} {
}
}
-cc-check-includes time.h sys/time.h sys/socket.h netinet/in.h arpa/inet.h netdb.h
+cc-check-includes time.h sys/time.h sys/socket.h netinet/in.h arpa/inet.h netdb.h strings.h
cc-check-includes util.h pty.h sys/un.h dlfcn.h unistd.h dirent.h crt_externs.h execinfo.h
# Check sizeof time_t so we can warn on non-Y2038 compliance
diff --git a/jim-signal.c b/jim-signal.c
index e25a276..328a139 100644
--- a/jim-signal.c
+++ b/jim-signal.c
@@ -11,6 +11,10 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_STRINGS_H
+ #include <strings.h>
+#endif
+
#include <jim-subcmd.h>
#include <jim-signal.h>