diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-11-11 10:17:11 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-11-11 10:17:11 -0800 |
commit | 4cedf181bcfe13e5d206554c51edb82cb17e7ad5 (patch) | |
tree | 35f5e2e45137c28ad99315285734cfe4489a5456 /src/XpmI.h | |
parent | 933b5d1f1fe9273d1a984707687b36ec61c4c5af (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |