From 6cfcea9a16017f2a49cd792d39ebd9c86395946a Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 1 Nov 2023 16:45:21 +0100 Subject: [PATCH] src/seccomp_notify.c: fix static build Fix the following static build failure raised even when seccomp is disabled: src/seccomp_notify.c:10:10: fatal error: dlfcn.h: No such file or directory 10 | #include | ^~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/71b4f35b3150183c7b44bc3897f01b0019e10ebe Signed-off-by: Fabrice Fontaine --- 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 8d34d9d3..bf738ead 100644 --- a/src/seccomp_notify.c +++ b/src/seccomp_notify.c @@ -7,7 +7,6 @@ #include #include -#include #include #include #include @@ -19,6 +18,7 @@ #ifdef USE_SECCOMP +#include #include #include #include