This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
patch needed for building on Linux glibc-2.1
- To: java-discuss@sourceware.cygnus.com
- Subject: patch needed for building on Linux glibc-2.1
- From: Matthias Klose <doko@cs.tu-berlin.de>
- Date: Fri, 11 Jun 1999 16:04:03 +0200 (MET DST)
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