$OpenBSD: patch-j2se_src_solaris_native_sun_awt_awt_util_c,v 1.1 2007/07/18 17:53:29 kurt Exp $
--- j2se/src/solaris/native/sun/awt/awt_util.c.orig	Wed Jul 18 11:02:46 2007
+++ j2se/src/solaris/native/sun/awt/awt_util.c	Wed Jul 18 11:03:10 2007
@@ -31,7 +31,7 @@
 #include <sys/time.h>
 
 #if defined(_BSD_SOURCE)
-#if defined(XmVersion) && XmVersion == 2001
+#if defined(XmVersion) && XmVersion >= 2001
 #define BSD_MOTIF21
 #endif
 #endif
