summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:34:38 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:34:38 -0800
commit5161ba39a3c13caa5cab953a17f509a6a5b09e7b (patch)
tree6d7feff548389f53bb49044de33e2738ec3f2d5f
parente68059e9ecc4225360a522138aedcedad7fe117f (diff)
Include strings.h for strcasecmpHEADmaster
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--xrandr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xrandr.c b/xrandr.c
index d35e451..35dff3e 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -32,6 +32,7 @@
#include <X11/Xatom.h>
#include <X11/extensions/Xrandr.h>
#include <X11/extensions/Xrender.h> /* we share subpixel information */
+#include <strings.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>