Skip to content

Commit

Permalink
Define FUSE version before including fuse.h as expected.
Browse files Browse the repository at this point in the history
Contributed by Steven Chamberlain <steven@pyro.eu.org>
  • Loading branch information
TurboGit committed Mar 27, 2017
1 parent aab44ff commit 56e71d2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions cloudfsapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "commonfs.h"
#include "cloudfsapi.h"
#include "config.h"
#define FUSE_USE_VERSION 30
#include <fuse.h>

#define RHEL5_LIBCURL_VERSION 462597
Expand Down
1 change: 1 addition & 0 deletions cloudfsapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <curl/curl.h>
#include <curl/easy.h>
#define FUSE_USE_VERSION 30
#include <fuse.h>
#include <time.h>

Expand Down
2 changes: 1 addition & 1 deletion cloudfuse.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define FUSE_USE_VERSION 26
#define FUSE_USE_VERSION 30
#include <fuse.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
1 change: 1 addition & 0 deletions commonfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <sys/syscall.h>
#include <openssl/md5.h>
#include <pwd.h>
#define FUSE_USE_VERSION 30
#include <fuse.h>
#include <limits.h>
#include <curl/curl.h>
Expand Down
1 change: 1 addition & 0 deletions commonfs.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef _COMMONFS_H
#define _COMMONFS_H
#define FUSE_USE_VERSION 30
#include <fuse.h>

typedef enum { false, true } bool;
Expand Down

0 comments on commit 56e71d2

Please sign in to comment.