From 7b854e37a72808ba92be00a7effc6b3149b2b0af Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 22 Jan 2021 13:30:52 +0100 Subject: [PATCH] lxc_attach: include rexec conditionally Cc: stable-4.0 Signed-off-by: Christian Brauner --- src/lxc/tools/lxc_attach.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lxc/tools/lxc_attach.c b/src/lxc/tools/lxc_attach.c index 7c70eae51..efced97b1 100644 --- a/src/lxc/tools/lxc_attach.c +++ b/src/lxc/tools/lxc_attach.c @@ -23,7 +23,9 @@ #include "config.h" #include "confile.h" #include "log.h" +#ifdef ENFORCE_MEMFD_REXEC #include "rexec.h" +#endif #include "utils.h" lxc_log_define(lxc_attach, lxc); -- 2.47.2