From: Stéphane Graber Date: Wed, 22 Jul 2015 15:55:46 +0000 (-0400) Subject: Fix Android build due to missing constant X-Git-Tag: lxc-1.1.3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e76c508443dedcbbce22f27a912776c73b4d4c3f;p=thirdparty%2Flxc.git Fix Android build due to missing constant Signed-off-by: Stéphane Graber --- diff --git a/src/lxc/bdev.c b/src/lxc/bdev.c index 5540b49f2..c6a8efc07 100644 --- a/src/lxc/bdev.c +++ b/src/lxc/bdev.c @@ -63,6 +63,10 @@ #define LO_FLAGS_AUTOCLEAR 4 #endif +#ifndef LOOP_CTL_GET_FREE +#define LOOP_CTL_GET_FREE 0x4C82 +#endif + #define DEFAULT_FS_SIZE 1073741824 #define DEFAULT_FSTYPE "ext3"