summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/compat/string.h')
-rw-r--r--pjlib/include/pj/compat/string.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/string.h b/pjlib/include/pj/compat/string.h
index 2de20fcc..ca14bc78 100644
--- a/pjlib/include/pj/compat/string.h
+++ b/pjlib/include/pj/compat/string.h
@@ -37,6 +37,11 @@
/* For sprintf family */
#include <stdio.h>
+/* On WinCE, string stuffs are declared in stdlib.h */
+#if defined(PJ_HAS_STDLIB_H) && PJ_HAS_STDLIB_H!=0
+# include <stdlib.h>
+#endif
+
#if defined(_MSC_VER)
# define strcasecmp _stricmp
# define strncasecmp _strnicmp