--- a/src/jdk.management/unix/native/libmanagement_ext/OperatingSystemImpl.c Tue Jul 17 17:14:03 2018 -0400
+++ b/src/jdk.management/unix/native/libmanagement_ext/OperatingSystemImpl.c Tue Jul 17 16:22:26 2018 -0700
@@ -75,6 +75,7 @@
#endif /* _ALLBSD_SOURCE */
#if defined(_ALLBSD_SOURCE)
+ #define dirent64 dirent
#define readdir64 readdir
#endif
@@ -422,7 +423,7 @@
return (100);
#else /* solaris/linux */
DIR *dirp;
- struct dirent* dentp;
+ struct dirent64* dentp;
jlong fds = 0;
#if defined(_AIX)