diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-11-11 11:21:45 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-11-11 11:21:45 -0800 |
commit | c71811ebe193cecc4add4c2d9cec751fc721343b (patch) | |
tree | 6d546088913ae8068d3e3c7ca01f189ce8ef464e | |
parent | b6b5bc9e9874934dd1c1b80a1aa0c0b1c454eab2 (diff) |
Include strings.h for strcasecmp
Our minimum requirement for X11 is currently Unix98. Unix98 provides
strcasecmp in <strings.h>. This commit fixes implicit declarations
of this function on systems that closely adhere to the standard.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | handle.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -35,6 +35,10 @@ from The Open Group. #include "wq.h" #include <stdlib.h> +#ifdef HAVE_STRNCASECMP +#include <strings.h> +#endif + static XModifierKeymap *map = NULL; |