1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix build on 4.x

PR:		ports/95887
Submitted by:	maintainer
This commit is contained in:
Volker Stolz 2006-04-23 17:33:29 +00:00
parent 6902ac9359
commit 1039465e55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160235
2 changed files with 30 additions and 0 deletions

View File

@ -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;

View File

@ -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;