aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirvec.c')
-rw-r--r--src/dirvec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dirvec.c b/src/dirvec.c
index a9e59ab68..b24512a1c 100644
--- a/src/dirvec.c
+++ b/src/dirvec.c
@@ -5,6 +5,7 @@
#include <string.h>
#include <glib.h>
+#include <pthread.h>
static pthread_mutex_t nr_lock = PTHREAD_MUTEX_INITIALIZER;