diff -r 378aa3362868 -r 320a714614e9 jdk/src/solaris/native/sun/management/FileSystemImpl.c --- a/jdk/src/solaris/native/sun/management/FileSystemImpl.c Tue Mar 06 10:25:45 2012 +0800 +++ b/jdk/src/solaris/native/sun/management/FileSystemImpl.c Tue Mar 06 20:34:38 2012 +0000 @@ -30,6 +30,10 @@ #include "jni_util.h" #include "sun_management_FileSystemImpl.h" +#ifdef _ALLBSD_SOURCE +#define stat64 stat +#endif + /* * Class: sun_management_FileSystemImpl * Method: isAccessUserOnly0