From 351a19b17d51ba0a5737f35d3c5deb8e7975fdee Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 12 Feb 2014 18:44:40 +0100 Subject: core: fix build without libseccomp --- src/core/dbus-execute.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/dbus-execute.c') diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c index 34d8eedc07..435c3d505f 100644 --- a/src/core/dbus-execute.c +++ b/src/core/dbus-execute.c @@ -350,14 +350,17 @@ static int property_get_syscall_filter( ExecContext *c = userdata; _cleanup_strv_free_ char **l = NULL; _cleanup_free_ char *t = NULL; +#ifdef HAVE_SECCOMP Iterator i; void *id; int r; +#endif assert(bus); assert(reply); assert(c); +#ifdef HAVE_SECCOMP SET_FOREACH(id, c->syscall_filter, i) { char *name; @@ -371,6 +374,7 @@ static int property_get_syscall_filter( return -ENOMEM; } } +#endif strv_sort(l); -- cgit v1.2.3-54-g00ecf