瀏覽代碼

Move spawn.h include, because android doesn't use (or have) posix_spawn

Bart van Strien 9 年之前
父節點
當前提交
bc932aecef
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/modules/system/System.cpp

+ 2 - 1
src/modules/system/System.cpp

@@ -27,7 +27,6 @@
 #elif defined(LOVE_IOS)
 #include "common/ios.h"
 #elif defined(LOVE_LINUX) || defined(LOVE_ANDROID)
-#include <spawn.h>
 #include <signal.h>
 #include <sys/wait.h>
 #include <errno.h>
@@ -39,6 +38,8 @@
 #endif
 #if defined(LOVE_ANDROID)
 #include "common/android.h"
+#elif defined(LOVE_LINUX)
+#include <spawn.h>
 #endif
 
 #if defined(LOVE_LINUX)