Explorar o código

src/common/timing.c: include math.h for floor

Nathalie Furmento %!s(int64=12) %!d(string=hai) anos
pai
achega
28a00cfbbd
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/common/timing.c

+ 2 - 1
src/common/timing.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  *
  * Copyright (C) 2009-2012  Université de Bordeaux 1
  * Copyright (C) 2009-2012  Université de Bordeaux 1
- * Copyright (C) 2010, 2011  Centre National de la Recherche Scientifique
+ * Copyright (C) 2010, 2011, 2012  Centre National de la Recherche Scientifique
  *
  *
  * StarPU is free software; you can redistribute it and/or modify
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
  * it under the terms of the GNU Lesser General Public License as published by
@@ -20,6 +20,7 @@
 #include <common/config.h>
 #include <common/config.h>
 #include <profiling/profiling.h>
 #include <profiling/profiling.h>
 #include <common/timing.h>
 #include <common/timing.h>
+#include <math.h>
 
 
 #ifdef STARPU_SIMGRID
 #ifdef STARPU_SIMGRID
 #include <msg/msg.h>
 #include <msg/msg.h>