瀏覽代碼

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

Samuel Thibault 10 年之前
父節點
當前提交
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"