Browse Source

thread: add <semaphore.h> include

Léo Villeveygoux 8 years ago
parent
commit
a6c1c11c79
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/starpu_thread.h

+ 1 - 0
include/starpu_thread.h

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