diff --git a/mozilla/sun-java/stubs/include/jri_md.h b/mozilla/sun-java/stubs/include/jri_md.h index fb7358c2f41..8172a650ad7 100644 --- a/mozilla/sun-java/stubs/include/jri_md.h +++ b/mozilla/sun-java/stubs/include/jri_md.h @@ -151,7 +151,11 @@ typedef juint jsize; #endif /* moved from jni.h -- Sun's new jni.h doesn't have this anymore */ +#ifdef __cplusplus +typedef class _jobject *jref; +#else typedef struct _jobject *jref; +#endif typedef unsigned char jbool; typedef char jbyte;