Browse Source

sc_hypervisor/src/policies_utils/policy_tools.c: add missing include (thanks to Abdou Guermouche for reporting the bug)

Nathalie Furmento 12 years ago
parent
commit
6a906a64d3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      sc_hypervisor/src/policies_utils/policy_tools.c

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

@@ -14,9 +14,10 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
  */
 
 
-
 #include "sc_hypervisor_policy.h"
 #include "sc_hypervisor_policy.h"
 #include "sc_hypervisor_intern.h"
 #include "sc_hypervisor_intern.h"
+#include <math.h>
+
 static int _compute_priority(unsigned sched_ctx)
 static int _compute_priority(unsigned sched_ctx)
 {
 {
 	struct sc_hypervisor_policy_config *config = sc_hypervisor_get_config(sched_ctx);
 	struct sc_hypervisor_policy_config *config = sc_hypervisor_get_config(sched_ctx);