Browse Source

starpu.h: fix include order

Nathalie Furmento 12 years ago
parent
commit
532c5262ea
1 changed files with 4 additions and 4 deletions
  1. 4 4
      include/starpu.h

+ 4 - 4
include/starpu.h

@@ -35,6 +35,10 @@ typedef unsigned long long uint64_t;
 #include <windows.h>
 #endif
 
+#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__)
+#include <starpu_opencl.h>
+#endif
+
 #include <starpu_util.h>
 #include <starpu_data.h>
 #include <starpu_data_interfaces.h>
@@ -59,10 +63,6 @@ extern "C"
 {
 #endif
 
-#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__)
-#include <starpu_opencl.h>
-#endif
-
 enum starpu_archtype
 {
 	STARPU_CPU_WORKER,    /* CPU core */