$FreeBSD$ --- configure.in.orig +++ configure.in @@ -107,6 +107,9 @@ *darwin*) # Darwin does not need an extra -I path ;; + *freebsd*) + CPPFLAGS="$CPPFLAGS -I${JAVA_HOME}/include/freebsd" + ;; *) AC_MSG_ERROR([don't know how to find jni_md.h on this platform]) ;;