Просмотр исходного кода

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

Nathalie Furmento лет назад: 12
Родитель
Сommit
6a906a64d3
1 измененных файлов с 2 добавлено и 1 удалено
  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.
  */
 
-
 #include "sc_hypervisor_policy.h"
 #include "sc_hypervisor_intern.h"
+#include <math.h>
+
 static int _compute_priority(unsigned sched_ctx)
 {
 	struct sc_hypervisor_policy_config *config = sc_hypervisor_get_config(sched_ctx);