Parcourir la source

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

Samuel Thibault il y a 10 ans
Parent
commit
c8ef6dbd52
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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"