From 34247f83095f8cdcdc1f9d7f0c6ffbd46b25d979 Mon Sep 17 00:00:00 2001 From: Oleksiy Obitotskyy Date: Wed, 25 Mar 2020 21:21:35 +0200 Subject: [PATCH] qemu: Do not include file if not exists Script configure checks for if_alg.h and check failed but if_alg.h still included. Upstream-status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2020-03/msg07188.html] Signed-off-by: Oleksiy Obitotskyy [update patch context] Signed-off-by: Sakib Sajal --- linux-user/syscall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index d6f8cc97..a61420e7 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -109,7 +109,9 @@ #include #include #include +#if defined(CONFIG_AF_ALG) #include +#endif #include #include #include "linux_loop.h" -- 2.24.0