summaryrefslogtreecommitdiffstats
path: root/fuse_sideload.c
diff options
context:
space:
mode:
authorthat <github@that.at>2015-10-10 15:59:22 +0200
committerthat <github@that.at>2015-10-10 16:02:06 +0200
commit0579114c332fbcb5190845ca9fb4ccac664a7b93 (patch)
tree1938324fc3f40f07244bb46c896a31c0fa64403e /fuse_sideload.c
parentRevert "Use getmntent when accessing /proc/mounts." (diff)
downloadandroid_bootable_recovery-0579114c332fbcb5190845ca9fb4ccac664a7b93.tar
android_bootable_recovery-0579114c332fbcb5190845ca9fb4ccac664a7b93.tar.gz
android_bootable_recovery-0579114c332fbcb5190845ca9fb4ccac664a7b93.tar.bz2
android_bootable_recovery-0579114c332fbcb5190845ca9fb4ccac664a7b93.tar.lz
android_bootable_recovery-0579114c332fbcb5190845ca9fb4ccac664a7b93.tar.xz
android_bootable_recovery-0579114c332fbcb5190845ca9fb4ccac664a7b93.tar.zst
android_bootable_recovery-0579114c332fbcb5190845ca9fb4ccac664a7b93.zip
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