Browse Source

Windows doesn't respect posix' definition of timespec in time.h

Samuel Thibault 10 years ago
parent
commit
c8ef6dbd52
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/starpu_profiling.h

+ 1 - 0
include/starpu_profiling.h

@@ -21,6 +21,7 @@
 #include <starpu.h>
 #include <errno.h>
 #include <time.h>
+#include <sys/time.h>
 
 #ifdef __cplusplus
 extern "C"