summaryrefslogtreecommitdiffstats
path: root/fuse_sideload.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fuse_sideload.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/fuse_sideload.cpp b/fuse_sideload.cpp
index 1725e8823..66dc4be86 100644
--- a/fuse_sideload.cpp
+++ b/fuse_sideload.cpp
@@ -46,7 +46,7 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
-#include <linux/fuse.h>
+#include "fuse.h"
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
@@ -71,6 +71,10 @@
#define NO_STATUS 1
#define NO_STATUS_EXIT 2
+#ifndef MIN
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#endif
+
struct fuse_data {
int ffd; // file descriptor for the fuse socket