execute: no need to include seccomp.h from execute.h
This commit is contained in:
+1
-5
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user