|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] stubdom: foreignmemory: Fix build after 0dbb4be739c5
On 13.07.21 11:20, Julien Grall wrote: Just adding a "#define __XEN_TOOLS__" before the #include statements doesn't work? --- tools/libs/foreignmemory/minios.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/libs/foreignmemory/minios.c b/tools/libs/foreignmemory/minios.c index c5453736d598..d7b3f0e1c823 100644 --- a/tools/libs/foreignmemory/minios.c +++ b/tools/libs/foreignmemory/minios.c @@ -17,6 +17,14 @@ * Copyright 2007-2008 Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>. */+/*+ * xenctlr.h currently defines __XEN_TOOLS__ which affects what is Typo, should be xenctrl.h + * exposed by Xen headers. As the define needs to be set consistently, + * we want to include xenctrl.h before the mini-os headers (they include + * public headers). + */ +#include <xenctrl.h> + #include <mini-os/types.h> #include <mini-os/os.h> #include <mini-os/mm.h> Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |