]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix android build
authorStéphane Graber <stgraber@ubuntu.com>
Wed, 20 Jan 2016 19:12:16 +0000 (14:12 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 20 Jan 2016 19:12:16 +0000 (14:12 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/bdev/bdev.c
src/lxc/bdev/lxcloop.c

index 14f4a9e7629ddd51a440a4516efacbcdb50f3249..3c68a43b579c6360ac5f28f01c1f0754fc615a83 100644 (file)
 #define BLKGETSIZE64 _IOR(0x12,114,size_t)
 #endif
 
-#ifndef LO_FLAGS_AUTOCLEAR
-#define LO_FLAGS_AUTOCLEAR 4
-#endif
-
-#ifndef LOOP_CTL_GET_FREE
-#define LOOP_CTL_GET_FREE 0x4C82
-#endif
-
 lxc_log_define(bdev, lxc);
 
 /* aufs */
index 9e977f011e35ded84c9b591961c71a53993924eb..c17483f4df10e14c25d5ae46e32d8e247641f424 100644 (file)
 #include "lxcloop.h"
 #include "utils.h"
 
+#ifndef LO_FLAGS_AUTOCLEAR
+#define LO_FLAGS_AUTOCLEAR 4
+#endif
+
+#ifndef LOOP_CTL_GET_FREE
+#define LOOP_CTL_GET_FREE 0x4C82
+#endif
+
 lxc_log_define(lxcloop, lxc);
 
 static int do_loop_create(const char *path, uint64_t size, const char *fstype);