jdk/src/solaris/native/sun/management/FileSystemImpl.c
changeset 12047 320a714614e9
parent 5506 202f599c92aa
child 14342 8435a30053c1
--- 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