This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


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

patch needed for building on Linux glibc-2.1


If the system does have these typedefs, the corresponding file should
be included (or do I have to test HAVE_SYS_TYPES_INCLUDE_H?).


--- libgcj-0.19990604.orig/libjava/java/lang/mprec.h    Wed Apr  7 16:52:38 1999
+++ libgcj-0.19990604/libjava/java/lang/mprec.h Mon Jun  7 20:24:57 1999
@@ -42,6 +42,8 @@
 #ifndef HAVE_INT32_DEFINED
 typedef int __int32_t;
 typedef unsigned int __uint32_t;
+#else
+#include <sys/types.h>
 #endif
 
 #ifdef __IEEE_LITTLE_ENDIAN

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