summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-04-05 22:43:18 +0000
committerimp <imp@FreeBSD.org>2014-04-05 22:43:18 +0000
commit7081aab77a948af4d941ca783bb2cc2642372a83 (patch)
treeaf7e776018a083d55f3063306d4de59c66cd815f /sys/i386
parent4ba44b5d1b7c7e2c3780164d22209a058d1f2d90 (diff)
downloadFreeBSD-src-7081aab77a948af4d941ca783bb2cc2642372a83.zip
FreeBSD-src-7081aab77a948af4d941ca783bb2cc2642372a83.tar.gz
Make this compile with gcc.
Submitted by: royger@
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/xen/xen_machdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/i386/xen/xen_machdep.c b/sys/i386/xen/xen_machdep.c
index d67406d..46409a5 100644
--- a/sys/i386/xen/xen_machdep.c
+++ b/sys/i386/xen/xen_machdep.c
@@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$");
#include <xen/hypervisor.h>
+#include <xen/xenstore/xenstorevar.h>
#include <machine/xen/xenvar.h>
#include <machine/xen/xenfunc.h>
#include <machine/xen/xenpmap.h>
@@ -710,9 +711,6 @@ char *bootmem_start, *bootmem_current, *bootmem_end;
pteinfo_t *pteinfo_list;
void initvalues(start_info_t *startinfo);
-struct xenstore_domain_interface;
-extern struct xenstore_domain_interface *xen_store;
-
void *
bootmem_alloc(unsigned int size)
{
OpenPOWER on IntegriCloud