Browse Source

Fixed ssize_t error on MinGW

Sergey Zolotarev 13 năm trước cách đây
mục cha
commit
1c39b9474e
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/common.h

+ 4 - 0
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