--- qemu/tcg/mips/tcg-target.h 2018/04/24 18:25:16 1.1.1.3 +++ qemu/tcg/mips/tcg-target.h 2018/04/24 18:57:10 1.1.1.4 @@ -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) {