From c71811ebe193cecc4add4c2d9cec751fc721343b Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 11 Nov 2011 11:21:45 -0800 Subject: Include strings.h for strcasecmp Our minimum requirement for X11 is currently Unix98. Unix98 provides strcasecmp in . This commit fixes implicit declarations of this function on systems that closely adhere to the standard. Signed-off-by: Jeremy Huddleston --- handle.c | 4 ++++ 1 file changed, 4 insertions(+) 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 +#ifdef HAVE_STRNCASECMP +#include +#endif + static XModifierKeymap *map = NULL; -- cgit v1.2.3