$OpenBSD: patch-jdk_src_share_native_java_lang_java_props_h,v 1.1 2017/03/10 02:21:22 kurt Exp $
--- jdk/src/share/native/java/lang/java_props.h.orig	Wed Feb  1 16:16:31 2017
+++ jdk/src/share/native/java/lang/java_props.h	Thu Feb 23 11:54:01 2017
@@ -91,6 +91,9 @@ typedef struct {
 
     char *desktop;              /* Desktop name. */
 
+#ifdef __OpenBSD__
+    char *java_net_preferIPv4Stack; /* prefer IPv4 on OpenBSD. */
+#endif
 #ifdef MACOSX
     // These are for proxy-related information.
     // Note that if these platform-specific extensions get out of hand we should make a new
