Explorar o código

thread: add <semaphore.h> include

Léo Villeveygoux %!s(int64=8) %!d(string=hai) anos
pai
achega
a6c1c11c79
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/starpu_thread.h

+ 1 - 0
include/starpu_thread.h

@@ -33,6 +33,7 @@
 #endif
 #elif !defined(_MSC_VER) || defined(BUILDING_STARPU)
 #include <pthread.h>
+#include <semaphore.h>
 #endif
 #include <stdint.h>