浏览代码

more mingw fixes

Samuel Thibault 14 年之前
父节点
当前提交
8565827e33

+ 1 - 0
tests/core/get_current_task.c

@@ -14,6 +14,7 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#include <sys/time.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <starpu.h>

+ 1 - 0
tests/core/multithreaded_init.c

@@ -1,3 +1,4 @@
+#include <sys/time.h>
 #include <stdio.h>
 #include <pthread.h>
 #include <starpu.h>

+ 1 - 0
tests/core/restart.c

@@ -14,6 +14,7 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#include <sys/time.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <errno.h>

+ 1 - 0
tests/core/subgraph_repeat.c

@@ -14,6 +14,7 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#include <sys/time.h>
 #include <starpu.h>
 #include <pthread.h>
 

+ 1 - 0
tests/core/subgraph_repeat_regenerate.c

@@ -14,6 +14,7 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#include <sys/time.h>
 #include <starpu.h>
 #include <pthread.h>
 

+ 1 - 0
tests/helper/cublas_init.c

@@ -14,6 +14,7 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#include <sys/time.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <errno.h>

+ 1 - 0
tests/microbenchs/local_pingpong.c

@@ -14,6 +14,7 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#include <sys/time.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <errno.h>