summaryrefslogtreecommitdiff
path: root/pgfuse.c
diff options
context:
space:
mode:
Diffstat (limited to 'pgfuse.c')
-rw-r--r--pgfuse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pgfuse.c b/pgfuse.c
index 572fd31..00ca9a1 100644
--- a/pgfuse.c
+++ b/pgfuse.c
@@ -43,6 +43,7 @@
#endif
#include "config.h" /* compiled in defaults */
+#include "util.h" /* common project utilities */
#include "pgsql.h" /* implements Postgresql accessers */
#include "pool.h" /* implements the connection pool */
@@ -107,8 +108,6 @@ static int psql_release( PgFuseData *data, PGconn *conn )
#define RELEASE( C ) \
if( psql_release( data, C ) < 0 ) return -EIO;
-#define THREAD_ID pthread_self( )
-
/* --- other helpers --- */
static int check_mountpoint( char **old_mountpoint )