From: Lennart Poettering Date: Mon, 3 Mar 2014 16:12:56 +0000 (+0100) Subject: execute: no need to include seccomp.h from execute.h X-Git-Tag: v211~159 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b64a3d86bcc3b3698824019d0ebdc2117ad31bb5 execute: no need to include seccomp.h from execute.h --- diff --git a/src/core/execute.h b/src/core/execute.h index 3c905cefa..efda23f9d 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -33,14 +33,10 @@ typedef struct ExecRuntime ExecRuntime; #include #include #include -#ifdef HAVE_SECCOMP -#include - -#include "set.h" -#endif #include "list.h" #include "util.h" +#include "set.h" #include "fdset.h" typedef enum ExecInput { diff --git a/src/core/main.c b/src/core/main.c index d3581fcde..71ec607de 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -35,6 +35,9 @@ #ifdef HAVE_VALGRIND_VALGRIND_H #include #endif +#ifdef HAVE_SECCOMP +#include +#endif #include "sd-daemon.h" #include "sd-messages.h"