Fixes compilation on FreeBSD 11.1 (RELEASE branch) (#173)
* get_total_memory.cpp: include types.h before sysctl.h (fixes size_t unknown on FreeBSD * Include fuse.h also in FreeBSD * update 'defined'-style (src/spp/fuse/params.h)
This commit is contained in:
parent
0e8622d7ae
commit
a05e4733ef
@ -1,6 +1,6 @@
|
|||||||
#include "get_total_memory.h"
|
#include "get_total_memory.h"
|
||||||
#include <sys/sysctl.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <sys/sysctl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#define MESSMER_FSPP_FUSE_PARAMS_H_
|
#define MESSMER_FSPP_FUSE_PARAMS_H_
|
||||||
|
|
||||||
#define FUSE_USE_VERSION 26
|
#define FUSE_USE_VERSION 26
|
||||||
#ifdef __linux__
|
#if defined(__linux__) || defined(__FreeBSD__)
|
||||||
#include <fuse.h>
|
#include <fuse.h>
|
||||||
#elif __APPLE__
|
#elif __APPLE__
|
||||||
#include <osxfuse/fuse.h>
|
#include <osxfuse/fuse.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user