aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmakeconfig.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 76a24b54f4..1c43c9d65c 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -407,3 +407,7 @@
/* _U_ isn't needed for C++, simply don't name the variable.
However, we do need it for some headers that are shared between C and C++. */
#define _U_ ${C_UNUSED}
+
+#if defined(_WIN32)
+typedef long ssize_t;
+#endif