mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-15 13:42:36 +00:00
Fix Android build because of getmntent_r
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
9fc7f8c015
commit
684f79a55a
@ -67,6 +67,12 @@
|
||||
#include <../include/ifaddrs.h>
|
||||
#endif
|
||||
|
||||
#if IS_BIONIC
|
||||
#include <../include/lxcmntent.h>
|
||||
#else
|
||||
#include <mntent.h>
|
||||
#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);
|
||||
|
Loading…
Reference in New Issue
Block a user