瀏覽代碼

thread: add <semaphore.h> include

Léo Villeveygoux 8 年之前
父節點
當前提交
a6c1c11c79
共有 1 個文件被更改,包括 1 次插入0 次删除
  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>