Browse Source

add missing pthread.h include for pthread_mutex_t

Samuel Thibault 15 years ago
parent
commit
554d1813ba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/common/utils.h

+ 1 - 0
src/common/utils.h

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