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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pjlib/include/pj/compat/string.h b/pjlib/include/pj/compat/string.h
index 6e70430f..2de20fcc 100644
--- a/pjlib/include/pj/compat/string.h
+++ b/pjlib/include/pj/compat/string.h
@@ -34,8 +34,10 @@
#endif
+/* For sprintf family */
+#include <stdio.h>
+
#if defined(_MSC_VER)
-# include <stdio.h>
# define strcasecmp _stricmp
# define strncasecmp _strnicmp
# define snprintf _snprintf