Explorar el Código

thread: add <semaphore.h> include

Léo Villeveygoux hace 8 años
padre
commit
a6c1c11c79
Se han modificado 1 ficheros con 1 adiciones y 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>