[Top][All Lists]

[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: Wed, 25 Mar 2020 01:52:46 -0700

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

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>
 #include <linux/rtc.h>
 #include <sound/asound.h>
 #include "linux_loop.h"

reply via email to

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