diff --git a/libjava/Makefile.in b/libjava/Makefile.in index a8bba0f9c1c..7c39fe42791 100644 --- a/libjava/Makefile.in +++ b/libjava/Makefile.in @@ -1635,9 +1635,14 @@ java/lang/Thread.h: java/lang/Thread.class libgcj.zip $(GCJH) -classpath $(top_builddir) \ -prepend 'class _Jv_JNIEnv;' \ -prepend 'extern "Java" { namespace gnu { namespace gcj { namespace jni { class NativeThread; } } } };' \ + -prepend '#define _JV_NOT_OWNER 1' \ + -prepend '#define _JV_INTERRUPTED 2' \ -friend '_Jv_JNIEnv * _Jv_GetCurrentJNIEnv ();' \ -friend 'void _Jv_SetCurrentJNIEnv (_Jv_JNIEnv *env);' \ -friend 'class gnu::gcj::jni::NativeThread;' \ + -friend 'int _Jv_CondWait (_Jv_ConditionVariable_t *cv, _Jv_Mutex_t *mu, jlong millis, jint nanos);' \ + -friend 'int _Jv_CondNotify (_Jv_ConditionVariable_t *cv, _Jv_Mutex_t *mu);' \ + -friend 'void _Jv_ThreadInterrupt (_Jv_Thread_t *data);' \ $(basename $<) java/lang/String.h: java/lang/String.class libgcj.zip