summaryrefslogtreecommitdiff
path: root/pgfuse.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-21 12:26:43 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-21 12:26:43 +0200
commit027a3397114c349cf2c2e68fed7545345cd20849 (patch)
treebaf56a3974a6e1fb555733ab5f9b5e1ce0a1683a /pgfuse.c
parent97b1e374c5df2c77862f83c33620bc6541ed250f (diff)
downloadpgfuse-027a3397114c349cf2c2e68fed7545345cd20849.tar.gz
pgfuse-027a3397114c349cf2c2e68fed7545345cd20849.tar.bz2
fixed for RHEL5
Diffstat (limited to 'pgfuse.c')
-rw-r--r--pgfuse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pgfuse.c b/pgfuse.c
index 464e1af..1fa9ded 100644
--- a/pgfuse.c
+++ b/pgfuse.c
@@ -32,7 +32,7 @@
#include <pthread.h> /* for pthread_self */
-#if FUSE_VERSION < 28
+#if FUSE_VERSION < 21
#error Currently only written for newest FUSE APIversion (FUSE_VERSION 28)
#endif
@@ -1284,8 +1284,10 @@ static struct fuse_operations pgfuse_oper = {
.lock = NULL,
.utimens = pgfuse_utimens,
.bmap = NULL,
+#if FUSE_VERSION >= 28
.ioctl = NULL,
.poll = NULL
+#endif
};
/* --- parse arguments --- */