From: Tom Gundersen Date: Wed, 5 Feb 2014 16:07:20 +0000 (+0100) Subject: nspawn: fix HAVE_SELINUX ifdef X-Git-Tag: v209~238 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d63309cf5a6fc5256391fa4ddb72cf68e2e27e5;p=thirdparty%2Fsystemd.git nspawn: fix HAVE_SELINUX ifdef --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 57818f9bd04..f904ebea643 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -41,7 +41,7 @@ #include #include #include -#if HAVE_SELINUX +#ifdef HAVE_SELINUX #include #endif @@ -1534,7 +1534,7 @@ int main(int argc, char *argv[]) { } else env_use = (char**) envp; -#if HAVE_SELINUX +#ifdef HAVE_SELINUX if (arg_process_label) if (setexeccon(arg_process_label) < 0) log_error("setexeccon(\"%s\") failed: %m", arg_process_label);