]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
xen: work with xen 4.0.1 headers
authorEric Blake <eblake@redhat.com>
Mon, 1 Nov 2010 20:02:55 +0000 (14:02 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 2 Nov 2010 16:19:55 +0000 (10:19 -0600)
* 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.

src/xen/xen_driver.h
src/xen/xs_internal.c

index 16d22f19805bc92dca4e9ef516344b622d3afc3b..6af613236f07f3215e3aa96346b1fee7d3f16730 100644 (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.
index a9817b10ea3c1f68042e9af661558e3a56db2c8d..eba1b958084b825c4b4b57362ffef629c7d3cf5e 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <xen/dom0_ops.h>
 #include <xen/version.h>
-#include <xen/xen.h>
 
 #include <xs.h>