Sfoglia il codice sorgente

Fixed ssize_t error on MinGW

Sergey Zolotarev 13 anni fa
parent
commit
1c39b9474e
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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