changeset 14416:3349db932831

8139037: [aix] Crash in ResolverConfigurationImpl.c - pointer shearing Reviewed-by: goetz, simonis
author stuefe
date Wed, 07 Oct 2015 15:29:55 +0200
parents 7e55cb303917
children 0f6c981f1cbf f70dcc362579 8bf32c4c2332
files src/java.base/unix/native/libnet/ResolverConfigurationImpl.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/unix/native/libnet/ResolverConfigurationImpl.c	Thu Oct 22 21:44:39 2015 -0700
+++ b/src/java.base/unix/native/libnet/ResolverConfigurationImpl.c	Wed Oct 07 15:29:55 2015 +0200
@@ -30,12 +30,9 @@
 
 #ifdef __solaris__
 #include <sys/systeminfo.h>
-#include <strings.h>
 #endif
 
-#if defined(__linux__) || defined(_ALLBSD_SOURCE)
 #include <string.h>
-#endif
 
 #include "jni.h"