diff mbox series

[3/3] haiku build fix

Message ID CA+XhMqwEHEEmw+8tnRM8r-Ds4fLKpTBxAqbxVtjr2JZEJdMf4w@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/3] haiku build fix second batch | expand

Commit Message

David CARLIER June 26, 2020, 1:01 p.m. UTC
From a548479cab82200d9df33a70f24aeebb00eb70ad Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen@gmail.com>
Date: Fri, 26 Jun 2020 13:58:34 +0000
Subject: [PATCH 3/3] syscall skipped for haiku used only in qemu_signalfd
 anyway

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

Patch

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
 {