From: Brad Date: Thu, 26 May 2011 03:06:00 +0000 (-0400) Subject: Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD. X-Git-Tag: v0.15.0-rc0~223 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=03938c133e60c10a6903ddf71021d76496d69cb0;p=qemu-xen-4.6-testing.git Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD. Use the correct header in the TCG MIPS code to find cacheflush() on OpenBSD to fix compilation of the MIPS host support for OpenBSD/mips64 based architecures. Signed-off-by: Brad Smith Signed-off-by: Aurelien Jarno --- diff --git a/tcg/mips/tcg-target.h b/tcg/mips/tcg-target.h index 0028bfa56..8cb7d88eb 100644 --- a/tcg/mips/tcg-target.h +++ b/tcg/mips/tcg-target.h @@ -102,7 +102,11 @@ enum { /* guest base is supported */ #define TCG_TARGET_HAS_GUEST_BASE +#ifdef __OpenBSD__ +#include +#else #include +#endif static inline void flush_icache_range(unsigned long start, unsigned long stop) {