Parcourir la source

Fix Android build

Tatsuhiro Tsujikawa il y a 13 ans
Parent
commit
2684db766d
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      src/common.h

+ 4 - 4
src/common.h

@@ -39,10 +39,6 @@
 # include "config.h"
 #endif
 
-#ifdef HAVE_SYS_TYPES_H
-#  include <sys/types.h>
-#endif
-
 #ifdef __MINGW32__
 #ifdef malloc
 #       undef malloc
@@ -88,4 +84,8 @@
 #  include <inttypes.h>
 #endif // HAVE_INTTYPES_H
 
+#ifdef HAVE_SYS_TYPES_H
+#  include <sys/types.h>
+#endif
+
 #endif // D_COMMON_H