This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: jni.h
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 08 Mar 2002 15:06:47 -0700
- Subject: Patch: FYI: jni.h
- Reply-to: tromey at redhat dot com
I'm checking this in. This is a compatibility hack.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* include/jni.h: Include stdio.h.
Index: include/jni.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/include/jni.h,v
retrieving revision 1.17
diff -u -r1.17 jni.h
--- include/jni.h 2002/02/14 15:42:37 1.17
+++ include/jni.h 2002/03/08 21:37:11
@@ -16,6 +16,9 @@
#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