blob: 3fe9aa6eb5cae350a6b85fa725084b64ee498e35 [file] [log] [blame]
Andrew Geisslerd25ed322020-06-27 00:28:28 -05001From 34247f83095f8cdcdc1f9d7f0c6ffbd46b25d979 Mon Sep 17 00:00:00 2001
Andrew Geissler82c905d2020-04-13 13:39:40 -05002From: Oleksiy Obitotskyy <oobitots@cisco.com>
3Date: Wed, 25 Mar 2020 21:21:35 +0200
4Subject: [PATCH] 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
Andrew Geisslerc3d88e42020-10-02 09:45:00 -05009Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2020-03/msg07188.html]
Andrew Geissler82c905d2020-04-13 13:39:40 -050010Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Andrew Geisslerd25ed322020-06-27 00:28:28 -050011
12[update patch context]
13Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Andrew Geissler82c905d2020-04-13 13:39:40 -050014---
15 linux-user/syscall.c | 2 ++
16 1 file changed, 2 insertions(+)
17
Andrew Geisslerd1e89492021-02-12 15:35:20 -060018Index: qemu-5.2.0/linux-user/syscall.c
Andrew Geissler635e0e42020-08-21 15:58:33 -050019===================================================================
Andrew Geisslerd1e89492021-02-12 15:35:20 -060020--- qemu-5.2.0.orig/linux-user/syscall.c
21+++ qemu-5.2.0/linux-user/syscall.c
Andrew Geisslerd25ed322020-06-27 00:28:28 -050022@@ -109,7 +109,9 @@
Andrew Geissler82c905d2020-04-13 13:39:40 -050023 #include <linux/blkpg.h>
24 #include <netpacket/packet.h>
25 #include <linux/netlink.h>
26+#if defined(CONFIG_AF_ALG)
27 #include <linux/if_alg.h>
28+#endif
Andrew Geisslerd25ed322020-06-27 00:28:28 -050029 #include <linux/rtc.h>
30 #include <sound/asound.h>
Andrew Geisslerd1e89492021-02-12 15:35:20 -060031 #ifdef CONFIG_BTRFS