chiark / gitweb /
seccomp: fix build again if libseccomp is missing
authorLennart Poettering <lennart@poettering.net>
Thu, 13 Feb 2014 01:25:45 +0000 (02:25 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Feb 2014 01:25:45 +0000 (02:25 +0100)
src/core/main.c

index 99cf9a13337984a696b815a027f0d7003780e946..14e21d634b920a6c2b136dbf2e7936b496e9720c 100644 (file)
@@ -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                 },