summaryrefslogtreecommitdiff
path: root/src/XpmI.h
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-11-11 10:17:11 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2011-11-11 10:17:11 -0800
commit4cedf181bcfe13e5d206554c51edb82cb17e7ad5 (patch)
tree35f5e2e45137c28ad99315285734cfe4489a5456 /src/XpmI.h
parent933b5d1f1fe9273d1a984707687b36ec61c4c5af (diff)
Include missing headers
This fixes implicit declarations for strdup and strcasecmp. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src/XpmI.h')
-rw-r--r--src/XpmI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XpmI.h b/src/XpmI.h
index 280525d..122aea5 100644
--- a/src/XpmI.h
+++ b/src/XpmI.h
@@ -312,6 +312,7 @@ FUNC(xpmstrdup, char *, (char *s1));
#else
#undef xpmstrdup
#define xpmstrdup strdup
+#include <string.h>
#endif
#ifdef NEED_STRCASECMP
@@ -319,6 +320,7 @@ FUNC(xpmstrcasecmp, int, (char *s1, char *s2));
#else
#undef xpmstrcasecmp
#define xpmstrcasecmp strcasecmp
+#include <strings.h>
#endif
FUNC(xpmatoui, unsigned int,