From: John Levon Subject: [PATCH] [SOLARIS] fix libxc compile Date: Tue, 17 Oct 2006 21:35:52 +0100 Message-ID: <20061017203552.GA25942@totally.trollied.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User john.levon@sun.com # Date 1161117291 25200 # Node ID 46a98dbb8932ba4b58afad0e215a08d316d7afab # Parent 8afc60a85d44db6f13f2d488c5dbda1bf4a1a2c1 xc core structures are not Linux-specific. Signed-off-by: John Levon diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h --- a/tools/libxc/xenctrl.h +++ b/tools/libxc/xenctrl.h @@ -104,11 +104,6 @@ int xc_find_device_number(const char *na * DOMAIN DEBUGGING FUNCTIONS */ -#ifdef __linux__ - -#include -#include - typedef struct xc_core_header { unsigned int xch_magic; unsigned int xch_nr_vcpus; @@ -119,6 +114,12 @@ typedef struct xc_core_header { } xc_core_header_t; #define XC_CORE_MAGIC 0xF00FEBED + + +#ifdef __linux__ + +#include +#include void * map_domain_va_core( unsigned long domfd,