From 03938c133e60c10a6903ddf71021d76496d69cb0 Mon Sep 17 00:00:00 2001 From: Brad Date: Wed, 25 May 2011 23:06:00 -0400 Subject: 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 --- tcg/mips/tcg-target.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tcg/mips') diff --git a/tcg/mips/tcg-target.h b/tcg/mips/tcg-target.h index 0028bfa..8cb7d88 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) { -- cgit v1.1