Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 1 | From 34247f83095f8cdcdc1f9d7f0c6ffbd46b25d979 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 2 | From: Oleksiy Obitotskyy <oobitots@cisco.com> |
| 3 | Date: Wed, 25 Mar 2020 21:21:35 +0200 |
| 4 | Subject: [PATCH] qemu: Do not include file if not exists |
| 5 | |
| 6 | Script configure checks for if_alg.h and check failed but |
| 7 | if_alg.h still included. |
| 8 | |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 9 | Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2020-03/msg07188.html] |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com> |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 11 | |
| 12 | [update patch context] |
| 13 | Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | --- |
| 15 | linux-user/syscall.c | 2 ++ |
| 16 | 1 file changed, 2 insertions(+) |
| 17 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 18 | Index: qemu-5.2.0/linux-user/syscall.c |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 19 | =================================================================== |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 20 | --- qemu-5.2.0.orig/linux-user/syscall.c |
| 21 | +++ qemu-5.2.0/linux-user/syscall.c |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 22 | @@ -109,7 +109,9 @@ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 23 | #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 Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 29 | #include <linux/rtc.h> |
| 30 | #include <sound/asound.h> |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 31 | #ifdef CONFIG_BTRFS |