summaryrefslogtreecommitdiff
path: root/include/fitz/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fitz/sysdep.h')
-rw-r--r--include/fitz/sysdep.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fitz/sysdep.h b/include/fitz/sysdep.h
index bb78521f..39221272 100644
--- a/include/fitz/sysdep.h
+++ b/include/fitz/sysdep.h
@@ -31,6 +31,12 @@ typedef signed long long fz_s64;
* Extras! Extras! Get them while they're hot!
*/
+#ifdef __WIN32__
+#define NEED_STRLCPY
+#define NEED_STRSEP
+#define NEED_GETOPT
+#endif
+
#ifdef NEED_STRLCPY
extern int strlcpy(char *dst, const char *src, int n);
extern int strlcat(char *dst, const char *src, int n);