浏览代码

src/top/starpu_top_connection.c: starpu_config.h MUST be included first (aka windows is a real pain)

Nathalie Furmento 10 年之前
父节点
当前提交
e1eb44ab88
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/top/starpu_top_connection.c

+ 2 - 1
src/top/starpu_top_connection.c

@@ -15,6 +15,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#include <starpu_config.h>
+
 #ifdef __MINGW__
 #  define WINVER WindowsXP
 #  include <w32api.h>
@@ -29,7 +31,6 @@
 #  include <netdb.h>
 #endif
 
-#include <starpu_config.h>
 #include <starpu.h>
 
 #include <top/starpu_top_core.h>