Commit 69095f58 by Tycho Andersen Committed by Stéphane Graber

define some macros to fix the build

Not all kernels have these macros; they'll just give an EINVAL if/when invoked. Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 807b8d68
...@@ -46,6 +46,22 @@ ...@@ -46,6 +46,22 @@
#include "lxclock.h" #include "lxclock.h"
#include "namespace.h" #include "namespace.h"
#ifndef PR_SET_MM_ARG_START
#define PR_SET_MM_ARG_START 8
#endif
#ifndef PR_SET_MM_ARG_END
#define PR_SET_MM_ARG_END 9
#endif
#ifndef PR_SET_MM_ENV_START
#define PR_SET_MM_ENV_START 10
#endif
#ifndef PR_SET_MM_ENV_END
#define PR_SET_MM_ENV_END 11
#endif
lxc_log_define(lxc_utils, lxc); lxc_log_define(lxc_utils, lxc);
static int _recursive_rmdir_onedev(char *dirname, dev_t pdev, static int _recursive_rmdir_onedev(char *dirname, dev_t pdev,
......
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