changeset 33311:b606aa2b32d1

8139037: [aix] Crash in ResolverConfigurationImpl.c - pointer shearing Reviewed-by: goetz, simonis
author stuefe
date Wed, 07 Oct 2015 15:29:55 +0200
parents 2701a9854bb5
children 489f8e536bc0 3d71824cad30 3cc974283705
files jdk/src/java.base/unix/native/libnet/ResolverConfigurationImpl.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.base/unix/native/libnet/ResolverConfigurationImpl.c	Thu Oct 22 21:44:39 2015 -0700
+++ b/jdk/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"