summaryrefslogtreecommitdiff
path: root/src/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h.in')
-rw-r--r--src/config.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in
index de1a4dd..0f72d6a 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -69,6 +69,14 @@ CMARK_INLINE int c99_snprintf(char *outBuf, size_t size, const char *format, ...
#endif
+#ifdef _WIN32
+# include <BaseTsd.h>
+ typedef SSIZE_T ssize_t;
+ typedef SIZE_T size_t;
+#else
+# include <sys/types.h>
+#endif
+
#ifdef __cplusplus
}
#endif