aboutsummaryrefslogtreecommitdiffhomepage
path: root/input
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-07-10 08:28:03 +0200
committerGravatar wm4 <wm4@nowhere>2014-07-10 08:29:32 +0200
commitf8c2dd1b785125e82b9f2d04f1618137db1e2378 (patch)
tree457fc6cb667876c9d4a7dff37bd3e539d742d03b /input
parente1f2540ede81d79423f51dcd9de2104ab0042132 (diff)
build: include <strings.h> for strcasecmp()
It happens to work without strings.h on glibc or with _GNU_SOURCE, but the POSIX standard requires including <strings.h>. Hopefully fixes OSX build.
Diffstat (limited to 'input')
-rw-r--r--input/keycodes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/keycodes.c b/input/keycodes.c
index 7d9c9bee55..078e29f361 100644
--- a/input/keycodes.c
+++ b/input/keycodes.c
@@ -18,6 +18,7 @@
#include <stddef.h>
#include <string.h>
+#include <strings.h>
#include "bstr/bstr.h"
#include "common/common.h"