summaryrefslogtreecommitdiff
path: root/util/cairo-missing
diff options
context:
space:
mode:
Diffstat (limited to 'util/cairo-missing')
-rw-r--r--util/cairo-missing/cairo-missing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/cairo-missing/cairo-missing.h b/util/cairo-missing/cairo-missing.h
index 13977567d..ccb85fa46 100644
--- a/util/cairo-missing/cairo-missing.h
+++ b/util/cairo-missing/cairo-missing.h
@@ -35,6 +35,14 @@
#include <stdio.h>
#include <string.h>
+#include <sys/types.h>
+
+#ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
+typedef SSIZE_T ssize_t;
+#endif
#ifndef HAVE_GETLINE
cairo_private ssize_t