From: Christian Brauner Date: Sun, 26 Aug 2018 22:59:12 +0000 (+0200) Subject: start: remove duplicate macros X-Git-Tag: lxc-3.1.0~127^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ef9b3d30fb94b6db8f1a06f8c3fdbbac8291e2b;p=thirdparty%2Flxc.git start: remove duplicate macros Signed-off-by: Christian Brauner --- diff --git a/src/lxc/start.c b/src/lxc/start.c index 086a874f0..b5c248974 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -53,18 +53,6 @@ #include #endif -#if !HAVE_DECL_PR_CAPBSET_DROP -#define PR_CAPBSET_DROP 24 -#endif - -#if !HAVE_DECL_PR_SET_NO_NEW_PRIVS -#define PR_SET_NO_NEW_PRIVS 38 -#endif - -#if !HAVE_DECL_PR_GET_NO_NEW_PRIVS -#define PR_GET_NO_NEW_PRIVS 39 -#endif - #include "af_unix.h" #include "caps.h" #include "cgroup.h" @@ -79,6 +67,7 @@ #include "lxccontainer.h" #include "lxclock.h" #include "lxcseccomp.h" +#include "macro.h" #include "mainloop.h" #include "monitor.h" #include "namespace.h"