|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libevtchn: fix build on non-Linux hosts
commit 3b2966e72c414592cd2c86c21a0d4664cf627b9c
Author: Roger Pau Monne <roger.pau@xxxxxxxxxx>
AuthorDate: Wed Nov 8 12:52:57 2017 +0000
Commit: Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Thu Nov 9 17:02:25 2017 +0000
libevtchn: fix build on non-Linux hosts
Non-Linux hosts (where osdep_evtchn_restrict is not yet supported)
made use of errno without including errno.h, fix this by including the
header.
Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
Release-acked-by: Julien Grall <julien.grall@xxxxxxxxxx>
---
tools/libs/evtchn/freebsd.c | 1 +
tools/libs/evtchn/netbsd.c | 1 +
tools/libs/evtchn/solaris.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/tools/libs/evtchn/freebsd.c b/tools/libs/evtchn/freebsd.c
index ba82f06..6564ed4 100644
--- a/tools/libs/evtchn/freebsd.c
+++ b/tools/libs/evtchn/freebsd.c
@@ -19,6 +19,7 @@
* Split off from xc_freebsd_osdep.c
*/
+#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
diff --git a/tools/libs/evtchn/netbsd.c b/tools/libs/evtchn/netbsd.c
index 5ce3a35..8b8545d 100644
--- a/tools/libs/evtchn/netbsd.c
+++ b/tools/libs/evtchn/netbsd.c
@@ -19,6 +19,7 @@
* Split out from xc_netbsd.c
*/
+#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
diff --git a/tools/libs/evtchn/solaris.c b/tools/libs/evtchn/solaris.c
index f718989..dd41f62 100644
--- a/tools/libs/evtchn/solaris.c
+++ b/tools/libs/evtchn/solaris.c
@@ -19,6 +19,7 @@
* Split out from xc_solaris.c
*/
+#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |