| From 5223d46a8d5302396f9fc7cc5d830769e87242fe Mon Sep 17 00:00:00 2001 |
| From: Oleksiy Obitotskyy <oobitots@cisco.com> |
| Date: Wed, 25 Mar 2020 21:21:35 +0200 |
| Subject: [PATCH 04/11] 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 <oobitots@cisco.com> |
| |
| [update patch context] |
| Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> |
| --- |
| linux-user/syscall.c | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/linux-user/syscall.c b/linux-user/syscall.c |
| index 3df2b94d9a..18f09f1f07 100644 |
| --- a/linux-user/syscall.c |
| +++ b/linux-user/syscall.c |
| @@ -116,7 +116,9 @@ |
| #include <linux/blkpg.h> |
| #include <netpacket/packet.h> |
| #include <linux/netlink.h> |
| +#if defined(CONFIG_AF_ALG) |
| #include <linux/if_alg.h> |
| +#endif |
| #include <linux/rtc.h> |
| #include <sound/asound.h> |
| #ifdef HAVE_BTRFS_H |
| -- |
| 2.44.0 |
| |