Commit 8aaef888 by Stéphane Graber

Fix Android build because of getmntent_r

parent 504687d5
...@@ -67,6 +67,12 @@ ...@@ -67,6 +67,12 @@
#include <../include/ifaddrs.h> #include <../include/ifaddrs.h>
#endif #endif
#if IS_BIONIC
#include <../include/lxcmntent.h>
#else
#include <mntent.h>
#endif
#define MAX_BUFFER 4096 #define MAX_BUFFER 4096
#define NOT_SUPPORTED_ERROR "the requested function %s is not currently supported with unprivileged containers" #define NOT_SUPPORTED_ERROR "the requested function %s is not currently supported with unprivileged containers"
...@@ -84,7 +90,6 @@ return -1; ...@@ -84,7 +90,6 @@ return -1;
} }
#endif #endif
lxc_log_define(lxc_container, lxc); lxc_log_define(lxc_container, lxc);
static bool do_lxcapi_destroy(struct lxc_container *c); static bool do_lxcapi_destroy(struct lxc_container *c);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment