summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:00:53 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:00:53 -0800
commit313a9689db26a2a7c384836b7838cb1d2261f228 (patch)
tree4992985f134942ca76e9c5e9f1b94bf343c5bc32
parentfa0973db6ab2a332c68f07e397771f0018741d6f (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--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 5190c49..5e6404c 100644
--- a/main.c
+++ b/main.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <strings.h>
#include <getopt.h>
extern int num_ops;