mips64 bootstrap fix

Guido Guenther agx@sigxcpu.org
Fri Oct 24 00:09:00 GMT 2003


Hi,
I need the following patch to bootstrap the crosscompiler for
mips64-linux (cvs head):

2003-10-23  Guido Guenther  <agx@sigxcpu.org>

	* config/mips/linux.h: Include <sys/types.h> for u_int32_t.


Index: gcc/config/mips/linux.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/linux.h,v
retrieving revision 1.71
diff -u -p -u -r1.71 linux.h
--- gcc/config/mips/linux.h	20 Oct 2003 18:37:17 -0000	1.71
+++ gcc/config/mips/linux.h	23 Oct 2003 21:33:43 -0000
@@ -196,6 +196,7 @@ Boston, MA 02111-1307, USA.  */
 /* Do code reading to identify a signal frame, and set the frame
    state data appropriately.  See unwind-dw2.c for the structs.  */
 #ifdef IN_LIBGCC2
+#include <sys/types.h>
 #include <signal.h>
 
 /* The third parameter to the signal handler points to something with

Cheers,
 -- Guido



More information about the Gcc mailing list