From b64a3d86bcc3b3698824019d0ebdc2117ad31bb5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 3 Mar 2014 17:12:56 +0100 Subject: [PATCH] execute: no need to include seccomp.h from execute.h --- src/core/execute.h | 6 +----- src/core/main.c | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) 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" -- 2.30.2