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

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

Samuel Thibault лет назад: 11
Родитель
Сommit
c8ef6dbd52
1 измененных файлов с 1 добавлено и 0 удалено
  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"