diff --git a/src/common/xpmdecod.cpp b/src/common/xpmdecod.cpp index 4b4e47e045..70c19c20ae 100644 --- a/src/common/xpmdecod.cpp +++ b/src/common/xpmdecod.cpp @@ -119,6 +119,20 @@ license is as follows: #include "wx/xpmdecod.h" +#ifdef __WXWINCE__ +char* strdup(const char* s) +{ + char* s2 = new char[strlen(s)]; + strcpy(s2, s); + return s2; +} + +bool isspace(char c) +{ + return (c == ' '); +} +#endif + #if wxUSE_STREAMS bool wxXPMDecoder::CanRead(wxInputStream& stream) {