summaryrefslogtreecommitdiffstats
path: root/fuse_sideload.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuse_sideload.c')
-rw-r--r--fuse_sideload.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fuse_sideload.c b/fuse_sideload.c
index 3259c5fb4..fd06fbf1b 100644
--- a/fuse_sideload.c
+++ b/fuse_sideload.c
@@ -70,6 +70,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