qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 8/9] Skipping sys/syscall.h inclusion as only used in qemu_signalfd anyway
@ 2020-06-29 21:48 David CARLIER
  2020-07-03 13:52 ` Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: David CARLIER @ 2020-06-29 21:48 UTC (permalink / raw)
  To: QEMU Trivial, qemu-devel

From b821b7e9bbf1f327058ee858a92c7a7ee6740e63 Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen@gmail.com>
Date: Mon, 29 Jun 2020 22:20:39 +0000
Subject: [PATCH 8/9] Skipping sys/syscall.h inclusion as only used in
 qemu_signalfd anyway.

Signed-off-by: David Carlier <devnexen@gmail.com>
---
 util/compatfd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/util/compatfd.c b/util/compatfd.c
index c296f55d14..ee47dd8089 100644
--- a/util/compatfd.c
+++ b/util/compatfd.c
@@ -16,7 +16,9 @@
 #include "qemu/osdep.h"
 #include "qemu/thread.h"

+#if defined(CONFIG_SIGNALFD)
 #include <sys/syscall.h>
+#endif

 struct sigfd_compat_info
 {
--
2.26.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 8/9] Skipping sys/syscall.h inclusion as only used in qemu_signalfd anyway
  2020-06-29 21:48 [PATCH 8/9] Skipping sys/syscall.h inclusion as only used in qemu_signalfd anyway David CARLIER
@ 2020-07-03 13:52 ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2020-07-03 13:52 UTC (permalink / raw)
  To: David CARLIER; +Cc: QEMU Trivial, qemu-devel

On Tue, 30 Jun 2020 at 01:49, David CARLIER <devnexen@gmail.com> wrote:
>
> From b821b7e9bbf1f327058ee858a92c7a7ee6740e63 Mon Sep 17 00:00:00 2001
> From: David Carlier <devnexen@gmail.com>
> Date: Mon, 29 Jun 2020 22:20:39 +0000
> Subject: [PATCH 8/9] Skipping sys/syscall.h inclusion as only used in
>  qemu_signalfd anyway.
>
> Signed-off-by: David Carlier <devnexen@gmail.com>
> ---
>  util/compatfd.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-03 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-29 21:48 [PATCH 8/9] Skipping sys/syscall.h inclusion as only used in qemu_signalfd anyway David CARLIER
2020-07-03 13:52 ` Peter Maydell

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).