xen: work with xen 4.0.1 headers

* src/xen/xen_driver.h (includes): Include main xen headers
here...
* src/xen/xs_internal.c (includes): ...rather than in just one of
the sub-drivers.
This commit is contained in:
Eric Blake 2010-11-01 14:02:55 -06:00
parent 98b8424ed8
commit 8dd22be93e
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,8 @@
# include <winsock2.h>
# endif
# include <xen/xen.h>
/* xen-unstable changeset 19788 removed MAX_VIRT_CPUS from public
* headers. Its semantic was retained with XEN_LEGACY_MAX_VCPUS.
* Ensure MAX_VIRT_CPUS is defined accordingly.

View File

@ -22,7 +22,6 @@
#include <xen/dom0_ops.h>
#include <xen/version.h>
#include <xen/xen.h>
#include <xs.h>