Index: gap-4r6p5/src/macfloat.h
===================================================================
--- gap-4r6p5.orig/src/macfloat.h	2013-09-14 10:09:14.325904218 +0000
+++ gap-4r6p5/src/macfloat.h	2013-09-14 10:09:48.352929887 +0000
@@ -30,7 +30,7 @@
 #define MATH(name) name
 #endif
 
-#if !defined(SYS_IS_64_BIT) && defined(SPARC)
+#if !defined(SYS_IS_64_BIT) && (defined(SPARC) || defined(__mips__))
 #include <string.h>
 static inline Double VAL_MACFLOAT(Obj obj)
 { Double __val; memcpy(&__val,ADDR_OBJ(obj),sizeof(Double)); return __val; }
