Merge pull request #397 from lambourg/development Fix compilation issues with mingw64 headers
diff --git a/src/common.h b/src/common.h
index ed04de2..f4ea1eb 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>