summaryrefslogtreecommitdiffstats
path: root/devel/gvfs/files/patch-client_gvfsfusedaemon.c
blob: 0d9c69189b487d974f0f12b8a6acca2169a7e8dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- client/gvfsfusedaemon.c.orig    2012-05-15 20:01:49.000000000 +0200
+++ client/gvfsfusedaemon.c 2012-05-31 14:00:26.000000000 +0200
@@ -2361,7 +2361,9 @@
   subthread = g_thread_new ("gvfs-fuse-sub", (GThreadFunc) subthread_main, NULL);
 
   /* Indicate O_TRUNC support for open() */
+#ifdef FUSE_CAP_ATOMIC_O_TRUNC
   conn->want |= FUSE_CAP_ATOMIC_O_TRUNC;
+#endif
 
   return NULL;
 }