From affe3a035d11db9140b77f77fb00137aa17d6dbc Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 27 Apr 2025 16:41:40 -0400 Subject: [PATCH] include the correct header for syscall definitions This file needs to utilize `__NR_seccomp`, which is defined in the linux uapi headers, not seccomp.h, even though seccomp.h does itself indirectly cause this header to be included as well. Nothing else in this particular file needs seccomp.h so drop that include altogether since it's now entirely unused. Signed-off-by: Eli Schwartz --- src/seccomp_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/seccomp_notify.c b/src/seccomp_notify.c index 7e1a5ac9..a9f9f0ef 100644 --- a/src/seccomp_notify.c +++ b/src/seccomp_notify.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include "seccomp_notify.h"