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@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
* Split off from xc_freebsd_osdep.c
*/
+#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
* Split out from xc_netbsd.c
*/
+#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
* Split out from xc_solaris.c
*/
+#include <errno.h>
#include <fcntl.h>
#include <unistd.h>