This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mips64 bootstrap fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]