diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index ee664f7e4..726229fd3 100644 --- a/src/lxc/lxccontainer.c +++ b/src/lxc/lxccontainer.c @@ -67,6 +67,12 @@ #include <../include/ifaddrs.h> #endif +#if IS_BIONIC +#include <../include/lxcmntent.h> +#else +#include +#endif + #define MAX_BUFFER 4096 #define NOT_SUPPORTED_ERROR "the requested function %s is not currently supported with unprivileged containers" @@ -84,7 +90,6 @@ return -1; } #endif - lxc_log_define(lxc_container, lxc); static bool do_lxcapi_destroy(struct lxc_container *c);