qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] qemu: Do not include file if not exists


From: Oleksiy Obitotskyy
Subject: [PATCH] qemu: Do not include file if not exists
Date: Tue, 24 Mar 2020 02:43:40 -0700

Script configure checks for if_alg.h and check failed but
if_alg.h still included.

Upstream-Status: Submitted [<address@hidden>]
Signed-off-by: Oleksiy Obitotskyy <address@hidden>
---
 linux-user/syscall.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 35f4146662..819774af0d 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -109,7 +109,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>
 #include "linux_loop.h"
-- 
2.19.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]