changeset 51782:54106907e72e

8207748: Fix for 8202794 breaks tier1 builds Reviewed-by: kbarrett, darcy
author bpb
date Tue, 17 Jul 2018 16:22:26 -0700
parents 35e64b62b284
children 6c5b01529873
files src/jdk.management/unix/native/libmanagement_ext/OperatingSystemImpl.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)