1.1 --- a/src/cpu/x86/vm/jni_x86.h Tue Sep 20 23:50:16 2011 -0700 1.2 +++ b/src/cpu/x86/vm/jni_x86.h Sun Sep 25 16:03:29 2011 -0700 1.3 @@ -26,7 +26,7 @@ 1.4 #ifndef _JAVASOFT_JNI_MD_H_ 1.5 #define _JAVASOFT_JNI_MD_H_ 1.6 1.7 -#if defined(SOLARIS) || defined(LINUX) 1.8 +#if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE) 1.9 1.10 #if defined(__GNUC__) && (__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2) 1.11 #define JNIEXPORT __attribute__((visibility("default")))