From c2a33ee222a25f3f5d1c90ca4664e12e0d5bb096 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 9 May 2005 13:29:17 +0000 Subject: fix --- lib/fuse_i.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/fuse_i.h') diff --git a/lib/fuse_i.h b/lib/fuse_i.h index 3bdfb00..99a35de 100644 --- a/lib/fuse_i.h +++ b/lib/fuse_i.h @@ -6,6 +6,10 @@ See the file COPYING.LIB. */ +/* For pthread_rwlock_t */ +#define _GNU_SOURCE + +#include #include "fuse.h" #include @@ -25,6 +29,7 @@ struct fuse { unsigned int hidectr; pthread_mutex_t lock; pthread_mutex_t worker_lock; + pthread_rwlock_t tree_lock; int numworker; int numavail; volatile int exited; -- cgit v1.2.3