From: Oleksiy Obitotskyy <oobitots@cisco.com>
To: qemu-devel@nongnu.org
Cc: Oleksiy Obitotskyy <oobitots@cisco.com>
Subject: [PATCH] qemu: Do not include file if not exists
Date: Wed, 25 Mar 2020 01:52:46 -0700 [thread overview]
Message-ID: <20200325085246.21118-1-oobitots@cisco.com> (raw)
In-Reply-To: <eda4c24f-2805-67b9-4fa0-931d7b03090c@redhat.com>
Script configure checks for if_alg.h and check failed but
if_alg.h still included.
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
---
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
next prev parent reply other threads:[~2020-03-25 8:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-24 9:43 [PATCH] qemu: Do not include file if not exists Oleksiy Obitotskyy
2020-03-24 13:03 ` Philippe Mathieu-Daudé
2020-03-25 8:52 ` Oleksiy Obitotskyy [this message]
2020-03-30 7:47 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200325085246.21118-1-oobitots@cisco.com \
--to=oobitots@cisco.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).