libevtchn: fix build on non-Linux hosts
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 8 Nov 2017 12:52:57 +0000 (12:52 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 9 Nov 2017 17:02:25 +0000 (17:02 +0000)
commit3b2966e72c414592cd2c86c21a0d4664cf627b9c
treeb89116be7537d3c8472d41f06f6f09aaa937d2a0
parent9862926902ba035a3741afdf03da40a4d4b57a6f
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@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
tools/libs/evtchn/freebsd.c
tools/libs/evtchn/netbsd.c
tools/libs/evtchn/solaris.c