$OpenBSD: patch-j2se_src_share_native_sun_awt_medialib_mlib_types_h,v 1.1.1.1 2005/05/25 17:27:53 kurt Exp $
--- j2se/src/share/native/sun/awt/medialib/mlib_types.h.orig	Tue Jan 25 22:14:50 2005
+++ j2se/src/share/native/sun/awt/medialib/mlib_types.h	Tue Jan 25 22:16:09 2005
@@ -47,7 +47,11 @@ typedef double             mlib_d64;
 
 #if defined(_ALLBSD_SOURCE)
 #include <stddef.h>                     /* for ptrdiff_t */
+#ifdef __OpenBSD__
+#include <inttypes.h>                   /* for uintptr_t */
+#else
 #include <stdint.h>                     /* for uintptr_t */
+#endif
 #elif defined(__linux__)
 #include <stdint.h>                     /* for uintptr_t */
 #include <malloc.h>                     /* for ptrdiff_t */
