Browse Source

try to fix weird compil pb on hydra

Andra Hugo 12 years ago
parent
commit
d3f10b1365
2 changed files with 2 additions and 0 deletions
  1. 1 0
      examples/sched_ctx/sched_ctx.c
  2. 1 0
      src/core/sched_ctx.h

+ 1 - 0
examples/sched_ctx/sched_ctx.c

@@ -16,6 +16,7 @@
  */
  */
 
 
 #include<starpu.h>
 #include<starpu.h>
+#include<starpu_sched_ctx.h>
 #include<pthread.h>
 #include<pthread.h>
 
 
 #define NTASKS 1000
 #define NTASKS 1000

+ 1 - 0
src/core/sched_ctx.h

@@ -18,6 +18,7 @@
 #define __SCHED_CONTEXT_H__
 #define __SCHED_CONTEXT_H__
 
 
 #include <starpu.h>
 #include <starpu.h>
+#include <starpu_sched_ctx.h>
 #include <starpu_scheduler.h>
 #include <starpu_scheduler.h>
 #include <common/config.h>
 #include <common/config.h>
 #include <common/barrier_counter.h>
 #include <common/barrier_counter.h>