$OpenBSD: patch-j2sdk1_3_1_src_solaris_javavm_runtime_javai_md_c,v 1.1 2005/06/03 17:27:54 kurt Exp $
--- j2sdk1.3.1/src/solaris/javavm/runtime/javai_md.c.orig	Fri May 27 17:43:56 2005
+++ j2sdk1.3.1/src/solaris/javavm/runtime/javai_md.c	Fri May 27 17:45:04 2005
@@ -167,7 +167,7 @@ GetPropertiesMD()
     return &sprops;
 }
 
-#if (defined(__linux__) || defined(__NetBSD__)) && \
+#if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__)) && \
     (defined(__powerpc__) || defined(__mc68000__))
 
 /* PORT: do casts properly - machine dependent */
@@ -259,7 +259,7 @@ int64_t double2ll(double f)
     }
 }
 
-#else /* (Linux || NetBSD) && (powerpc || m68k) */ */
+#else /* (Linux || NetBSD || OpenBSD) && (powerpc || m68k) */ */
 
 int32_t float2l(float f)
 {
@@ -341,4 +341,4 @@ int64_t double2ll(double f)
 #endif /* sparc || alpha */
 }
 
-#endif  /* !(Linux || NetBSD) && (powerpc || m68k) */
+#endif  /* !(Linux || NetBSD || OpenBSD) && (powerpc || m68k) */
