From 9053da98b552f73d58223acc2b19f8368dcf5977 Mon Sep 17 00:00:00 2001 From: Etienne CHAMPETIER Date: Fri, 27 Nov 2015 16:27:06 +0000 Subject: [PATCH] ujail: add and to seccomp.h headers must include all there dependencies, no more, no less Signed-off-by: Etienne CHAMPETIER --- jail/preload.c | 2 -- jail/seccomp.c | 2 -- jail/seccomp.h | 3 +++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/jail/preload.c b/jail/preload.c index a1cc0b6..5466f27 100644 --- a/jail/preload.c +++ b/jail/preload.c @@ -13,12 +13,10 @@ #define _GNU_SOURCE #include -#include #include #include #include #include -#include #include "seccomp.h" #include "../preload.h" diff --git a/jail/seccomp.c b/jail/seccomp.c index de01fc6..dcd19ec 100644 --- a/jail/seccomp.c +++ b/jail/seccomp.c @@ -10,11 +10,9 @@ * found in the LICENSE file. */ #define _GNU_SOURCE 1 -#include #include #include #include -#include #include #include diff --git a/jail/seccomp.h b/jail/seccomp.h index 0992b79..6032812 100644 --- a/jail/seccomp.h +++ b/jail/seccomp.h @@ -13,6 +13,9 @@ #ifndef _JAIL_SECCOMP_H_ #define _JAIL_SECCOMP_H_ +#include +#include + #define INFO(fmt, ...) do { \ syslog(LOG_INFO,"preload-seccomp: "fmt, ## __VA_ARGS__); \ fprintf(stderr,"preload-seccomp: "fmt, ## __VA_ARGS__); \ -- 2.30.2