$OpenBSD: patch-jdk_src_solaris_native_sun_awt_extutil_h,v 1.1 2008/03/19 18:05:46 kurt Exp $
--- jdk/src/solaris/native/sun/awt/extutil.h.orig	Tue Dec  4 04:05:27 2007
+++ jdk/src/solaris/native/sun/awt/extutil.h	Thu Feb 14 17:52:42 2008
@@ -58,7 +58,7 @@ in this Software without prior written authorization f
  */
 /* $XFree86: xc/include/extensions/extutil.h,v 1.5 2001/01/17 17:53:20 dawes Exp $ */
 
-#ifdef __linux__
+#if defined(__linux__) || defined(_ALLBSD_SOURCE)
 
 #ifndef _EXTUTIL_H_
 #define _EXTUTIL_H_
@@ -248,4 +248,4 @@ char *proc (Display *dpy, int code, XExtCodes *codes, 
         char *proc(Display *dpy, int code, XExtCodes *codes, char *buf, int n)
 #endif
 
-#endif /* __linux__ */
+#endif /* __linux__ || _ALLBSD_SOURCE */
