diff options
-rw-r--r-- | src/core/execute.h | 6 | ||||
-rw-r--r-- | 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 3c905cefae..efda23f9d8 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -33,14 +33,10 @@ typedef struct ExecRuntime ExecRuntime; #include <stdbool.h> #include <stdio.h> #include <sched.h> -#ifdef HAVE_SECCOMP -#include <seccomp.h> - -#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 d3581fcde9..71ec607dec 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -35,6 +35,9 @@ #ifdef HAVE_VALGRIND_VALGRIND_H #include <valgrind/valgrind.h> #endif +#ifdef HAVE_SECCOMP +#include <seccomp.h> +#endif #include "sd-daemon.h" #include "sd-messages.h" |