* include/jni.h: Include stdio.h.
authorTom Tromey <tromey@redhat.com>
Fri, 8 Mar 2002 21:37:46 +0000 (21:37 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 8 Mar 2002 21:37:46 +0000 (21:37 +0000)
From-SVN: r50457

libjava/ChangeLog
libjava/include/jni.h

index 39a56566c458a481034f9247e81cbd116a6b34c8..88c610cfca0a66dda410e2db2efce422ef6b89b5 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-08  Tom Tromey  <tromey@redhat.com>
+
+       * include/jni.h: Include stdio.h.
+
 2002-03-08  Tom Tromey  <tromey@redhat.com>
 
        * posix.cc (internal_gettimeofday): New function.
index d55411f554f3cecde6052dcd10076ae35d6a4f10..d41a6a2d234a91bea0b585a0d9f5d83fa22ead9a 100644 (file)
@@ -16,6 +16,9 @@ details.  */
 
 #include <gcj/libgcj-config.h>
 
+// We include <stdio.h> for compatibility with Sun's <jni.h>.
+#include <stdio.h>
+
 #include <stdarg.h>
 #define _Jv_va_list va_list