Przeglądaj źródła

src/top/starpu_top_connection.c: first include all windows include files before including any starpu files

Nathalie Furmento 10 lat temu
rodzic
commit
23e779bd6a
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/top/starpu_top_connection.c

+ 3 - 3
src/top/starpu_top_connection.c

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