|
@@ -276,6 +276,9 @@ double starpu_timing_now(void);
|
|
#ifdef _WIN32
|
|
#ifdef _WIN32
|
|
/* Try to fetch the system definition of timespec */
|
|
/* Try to fetch the system definition of timespec */
|
|
#include <time.h>
|
|
#include <time.h>
|
|
|
|
+#if defined(__MINGW32__) || defined(__CYGWIN__)
|
|
|
|
+#include <sys/time.h>
|
|
|
|
+#endif
|
|
#if !defined(_MSC_VER) || defined(BUILDING_STARPU)
|
|
#if !defined(_MSC_VER) || defined(BUILDING_STARPU)
|
|
#include <pthread.h>
|
|
#include <pthread.h>
|
|
#endif
|
|
#endif
|