浏览代码

move include math.h in the header principal

Andra Hugo 12 年之前
父节点
当前提交
c94402dfb1
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 0
      sc_hypervisor/include/sc_hypervisor.h
  2. 0 1
      sc_hypervisor/src/policies_utils/policy_tools.c

+ 1 - 0
sc_hypervisor/include/sc_hypervisor.h

@@ -20,6 +20,7 @@
 #include <starpu.h>
 #include <starpu.h>
 #include <sc_hypervisor_config.h>
 #include <sc_hypervisor_config.h>
 #include <sc_hypervisor_monitoring.h>
 #include <sc_hypervisor_monitoring.h>
+#include <math.h>
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C"
 extern "C"

+ 0 - 1
sc_hypervisor/src/policies_utils/policy_tools.c

@@ -17,7 +17,6 @@
 #include "sc_hypervisor_policy.h"
 #include "sc_hypervisor_policy.h"
 #include "sc_hypervisor_intern.h"
 #include "sc_hypervisor_intern.h"
 #include "sc_hypervisor_lp.h"
 #include "sc_hypervisor_lp.h"
-#include <math.h>
 
 
 static int _compute_priority(unsigned sched_ctx)
 static int _compute_priority(unsigned sched_ctx)
 {
 {