소스 검색

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);