瀏覽代碼

Fix Android build

Tatsuhiro Tsujikawa 13 年之前
父節點
當前提交
2684db766d
共有 1 個文件被更改,包括 4 次插入4 次删除
  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