Browse Source

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

Nathalie Furmento 10 years ago
parent
commit
e1eb44ab88
1 changed files with 2 additions and 1 deletions
  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>