summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorSergey Zolotarev <zeex@rocketmail.com>2012-07-03 17:44:48 +0600
committerSergey Zolotarev <zeex@rocketmail.com>2012-07-03 17:44:48 +0600
commit1c39b9474ed48cfe278b954f4fc7290d437102f4 (patch)
tree291669d03794c9e2883dc2f4186db3d70f19ab85 /src/common.h
parent238c3128dee300b4a1680e876fe44e1c3ac72553 (diff)
Fixed ssize_t error on MinGW
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index d5955f16..e987f247 100644
--- a/src/common.h
+++ b/src/common.h
@@ -39,6 +39,10 @@
# include "config.h"
#endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
#ifdef __MINGW32__
#ifdef malloc
# undef malloc