diff options
author | vs <vs@FreeBSD.org> | 2006-04-24 01:33:29 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2006-04-24 01:33:29 +0800 |
commit | bdff4dd188cf125e9d028d44dd9cb94ed0f0400a (patch) | |
tree | 337c826966cefb9a998ad1de50fda803ec3faa3a /emulators/qemu-devel | |
parent | 86dcfeef2e83cb85d384b609264aca42a13553c8 (diff) | |
download | freebsd-ports-gnome-bdff4dd188cf125e9d028d44dd9cb94ed0f0400a.tar.gz freebsd-ports-gnome-bdff4dd188cf125e9d028d44dd9cb94ed0f0400a.tar.zst freebsd-ports-gnome-bdff4dd188cf125e9d028d44dd9cb94ed0f0400a.zip |
Fix build on 4.x
PR: ports/95887
Submitted by: maintainer
Diffstat (limited to 'emulators/qemu-devel')
-rw-r--r-- | emulators/qemu-devel/files/patch-target-mips-cpu.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-target-mips-cpu.h b/emulators/qemu-devel/files/patch-target-mips-cpu.h new file mode 100644 index 000000000000..52d83af15fb2 --- /dev/null +++ b/emulators/qemu-devel/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; |