8139037: [aix] Crash in ResolverConfigurationImpl.c - pointer shearing
authorstuefe
Wed, 07 Oct 2015 15:29:55 +0200
changeset 33311 b606aa2b32d1
parent 33310 2701a9854bb5
child 33312 489f8e536bc0
child 33319 3d71824cad30
child 33515 3cc974283705
8139037: [aix] Crash in ResolverConfigurationImpl.c - pointer shearing Reviewed-by: goetz, simonis
jdk/src/java.base/unix/native/libnet/ResolverConfigurationImpl.c
--- 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"