chiark / gitweb /
execute: no need to include seccomp.h from execute.h
authorLennart Poettering <lennart@poettering.net>
Mon, 3 Mar 2014 16:12:56 +0000 (17:12 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 3 Mar 2014 16:55:32 +0000 (17:55 +0100)
src/core/execute.h
src/core/main.c

index 3c905cefae9eacab0cdf27799c68e51c82962915..efda23f9d8a7f7d61c01252350363e53e31c8f32 100644 (file)
@@ -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 {
index d3581fcde90dc50268793f16c2f96f7e473daa4c..71ec607dec249147704bd5ec9acb04e56ae93b6e 100644 (file)
@@ -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"