1From f39e7bfc5ed07b5ecaeb705c4eae4855ca120d47 Mon Sep 17 00:00:00 2001 2From: Oleksiy Obitotskyy <oobitots@cisco.com> 3Date: Wed, 25 Mar 2020 21:21:35 +0200 4Subject: [PATCH 05/12] qemu: Do not include file if not exists 5 6Script configure checks for if_alg.h and check failed but 7if_alg.h still included. 8 9Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2020-03/msg07188.html] 10Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com> 11 12[update patch context] 13Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> 14 15--- 16 linux-user/syscall.c | 2 ++ 17 1 file changed, 2 insertions(+) 18 19Index: qemu-8.0.0/linux-user/syscall.c 20=================================================================== 21--- qemu-8.0.0.orig/linux-user/syscall.c 22+++ qemu-8.0.0/linux-user/syscall.c 23@@ -115,7 +115,9 @@ 24 #include <linux/blkpg.h> 25 #include <netpacket/packet.h> 26 #include <linux/netlink.h> 27+#if defined(CONFIG_AF_ALG) 28 #include <linux/if_alg.h> 29+#endif 30 #include <linux/rtc.h> 31 #include <sound/asound.h> 32 #ifdef HAVE_BTRFS_H 33