From 1039465e557c7c12805479d7312e55aff6985eb5 Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Sun, 23 Apr 2006 17:33:29 +0000 Subject: Fix build on 4.x PR: ports/95887 Submitted by: maintainer --- emulators/qemu/files/patch-target-mips-cpu.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 emulators/qemu/files/patch-target-mips-cpu.h (limited to 'emulators/qemu') diff --git a/emulators/qemu/files/patch-target-mips-cpu.h b/emulators/qemu/files/patch-target-mips-cpu.h new file mode 100644 index 000000000000..52d83af15fb2 --- /dev/null +++ b/emulators/qemu/files/patch-target-mips-cpu.h @@ -0,0 +1,15 @@ +Index: qemu/target-mips/cpu.h +@@ -8,6 +8,13 @@ + #include "config.h" + #include "softfloat.h" + ++#ifdef __FreeBSD__ ++#if __FreeBSD__ <= 4 ++typedef uint32_t uint_fast8_t; ++typedef uint32_t uint_fast16_t; ++#endif ++#endif ++ + typedef union fpr_t fpr_t; + union fpr_t { + double d; -- cgit v1.2.3