diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-07-11 07:27:38 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2023-07-11 07:31:04 +1000 |
commit | c7c8f9b13436861037dbf1d5d57937207f47a153 (patch) | |
tree | a9acc7168d3de9e18c821b647a8d7c0575addfb6 /jim-signal.c | |
parent | fd2b04f7b1d43176a36cc273fd89c3efd4e16777 (diff) | |
download | jimtcl-c7c8f9b13436861037dbf1d5d57937207f47a153.zip jimtcl-c7c8f9b13436861037dbf1d5d57937207f47a153.tar.gz jimtcl-c7c8f9b13436861037dbf1d5d57937207f47a153.tar.bz2 |
signal: fix build warnings
Need strings.h for strcasecmp
(Although I don't really think it's necessary to support lower case
versions of signal names. This will probably change).
Fixes #270
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-signal.c')
-rw-r--r-- | jim-signal.c | 4 |
1 files changed, 4 insertions, 0 deletions
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> |