From 4cedf181bcfe13e5d206554c51edb82cb17e7ad5 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 11 Nov 2011 10:17:11 -0800 Subject: Include missing headers This fixes implicit declarations for strdup and strcasecmp. Signed-off-by: Jeremy Huddleston --- src/XpmI.h | 2 ++ 1 file changed, 2 insertions(+) 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 #endif #ifdef NEED_STRCASECMP @@ -319,6 +320,7 @@ FUNC(xpmstrcasecmp, int, (char *s1, char *s2)); #else #undef xpmstrcasecmp #define xpmstrcasecmp strcasecmp +#include #endif FUNC(xpmatoui, unsigned int, -- cgit v1.2.3