summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-13 02:25:45 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-13 02:25:45 +0100
commit89fffa2735ea975b3716ee47820d194bd86cce5f (patch)
tree6abeffa3ea13bbe2e78bd85157339b94b88eecbc /src
parent513a78c1aac9fe2de939bed4afb03589216f5471 (diff)
seccomp: fix build again if libseccomp is missing
Diffstat (limited to 'src')
-rw-r--r--src/core/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 99cf9a1333..14e21d634b 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -642,7 +642,9 @@ static int parse_config_file(void) {
{ "Manager", "RuntimeWatchdogSec", config_parse_sec, 0, &arg_runtime_watchdog },
{ "Manager", "ShutdownWatchdogSec", config_parse_sec, 0, &arg_shutdown_watchdog },
{ "Manager", "CapabilityBoundingSet", config_parse_bounding_set, 0, &arg_capability_bounding_set_drop },
+#ifdef HAVE_SECCOMP
{ "Manager", "SystemCallArchitectures", config_parse_syscall_archs, 0, &arg_syscall_archs },
+#endif
{ "Manager", "TimerSlackNSec", config_parse_nsec, 0, &arg_timer_slack_nsec },
{ "Manager", "DefaultStandardOutput", config_parse_output, 0, &arg_default_std_output },
{ "Manager", "DefaultStandardError", config_parse_output, 0, &arg_default_std_error },