From 57517ca8389371201200068eb46575cacae2cd16 Mon Sep 17 00:00:00 2001
From: Jeroen Oortwijn <oortwijn@gmail.com>
Date: Tue, 27 Mar 2012 21:55:21 +0200
Subject: [PATCH] Fix bfs_fuse build on Ubuntu 10.04 LTS
* FUSE_OPT_END is defined as { .templ = NULL } in old FUSE headers (used in
Ubuntu 10.04 LTS), which isn't supported in C++.
* Fixes ticket #8406.
---
src/tools/fs_shell/fuse.cpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/tools/fs_shell/fuse.cpp b/src/tools/fs_shell/fuse.cpp
index e9b09f8..6ccd69a 100644
a
|
b
|
static mode_t sUmask = 0022;
|
42 | 42 | |
43 | 43 | #define PRINTD(x) if (gIsDebug) fprintf(stderr, x) |
44 | 44 | |
| 45 | #ifdef FUSE_OPT_END |
| 46 | #undef FUSE_OPT_END |
| 47 | #endif |
| 48 | #define FUSE_OPT_END { NULL, 0, 0 } |
| 49 | |
45 | 50 | bool gIsDebug = false; |
46 | 51 | |
47 | 52 | static fssh_status_t |