fixed fuse options struct for compile

This commit is contained in:
cnangel 2020-05-31 19:13:54 +08:00
parent 19f26a020e
commit 9d5543aa6b
2 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,7 @@
#include "fuse_context_handle.h"
#include "fuse_dfs.h"
#define __FUSE_OPTIONS_STRUCT__
#include "fuse_options.h"
#include <getopt.h>

View File

@ -20,6 +20,10 @@
#define __FUSE_OPTIONS_H__
/** options for fuse_opt.h */
#ifndef __FUSE_OPTIONS_STRUCT__
#define __FUSE_OPTIONS_STRUCT__
extern
#endif
struct options {
char* protected;
char* nn_uri;