summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:21:45 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:21:45 -0800
commitc71811ebe193cecc4add4c2d9cec751fc721343b (patch)
tree6d546088913ae8068d3e3c7ca01f189ce8ef464e
parentb6b5bc9e9874934dd1c1b80a1aa0c0b1c454eab2 (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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/handle.c b/handle.c
index a6e6f9f..af2f5df 100644
--- a/handle.c
+++ b/handle.c
@@ -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;