Parcourir la source

thread: add <semaphore.h> include

Léo Villeveygoux il y a 8 ans
Parent
commit
a6c1c11c79
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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>