diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-02-12 18:44:40 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-12 18:44:40 +0100 |
commit | 351a19b17d51ba0a5737f35d3c5deb8e7975fdee (patch) | |
tree | 03fb024a7c9f496cb6db9eaa657698c201688b41 /src/core/dbus-execute.c | |
parent | 17df7223be064b1542dbe868e3b35cca977ee639 (diff) |
core: fix build without libseccomp
Diffstat (limited to 'src/core/dbus-execute.c')
-rw-r--r-- | src/core/dbus-execute.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |