summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index ed04de206..f4ea1ebf7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -37,7 +37,9 @@
# define snprintf _snprintf
+#ifndef _SSIZE_T_DEFINED
typedef SSIZE_T ssize_t;
+#endif
#else
# include <unistd.h>