aboutsummaryrefslogblamecommitdiff
path: root/emulators/qemu/files/patch-target-mips-cpu.h
blob: 52d83af15fb211f5348cc2888790f4ed96849b99 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;