--- old/src/share/vm/prims/jni.cpp Wed Sep 21 11:39:30 2011 +++ new/src/share/vm/prims/jni.cpp Wed Sep 21 11:39:29 2011 @@ -82,6 +82,10 @@ # include "os_windows.inline.hpp" # include "thread_windows.inline.hpp" #endif +#ifdef TARGET_OS_FAMILY_bsd +# include "os_bsd.inline.hpp" +# include "thread_bsd.inline.hpp" +#endif static jint CurrentVersion = JNI_VERSION_1_6;