qemu-devel
[Top][All Lists]
Advanced

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

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


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] qemu: Do not include file if not exists
Date: Tue, 24 Mar 2020 14:03:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 3/24/20 10:43 AM, Oleksiy Obitotskyy wrote:
Script configure checks for if_alg.h and check failed but
if_alg.h still included.

Upstream-Status: Submitted [<address@hidden>]

^ Mainstream doesn't use such tag.

Otherwise:
Reviewed-by: Philippe Mathieu-Daudé <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"





reply via email to

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