瀏覽代碼

add missing pthread.h include for pthread_mutex_t

Samuel Thibault 15 年之前
父節點
當前提交
554d1813ba
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/common/utils.h

+ 1 - 0
src/common/utils.h

@@ -21,6 +21,7 @@
 #include <common/config.h>
 #include <sys/stat.h>
 #include <string.h>
+#include <pthread.h>
 
 int _starpu_mkpath(const char *s, mode_t mode);
 int _starpu_check_mutex_deadlock(pthread_mutex_t *mutex);