$OpenBSD: patch-jdk_src_share_back_commonRef_c,v 1.1 2008/03/19 18:05:45 kurt Exp $
--- jdk/src/share/back/commonRef.c.orig	Sat Dec  1 00:00:00 2007
+++ jdk/src/share/back/commonRef.c	Tue Feb 26 18:50:56 2008
@@ -23,6 +23,10 @@
  * have any questions.
  */
 
+#if defined(_ALLBSD_SOURCE)
+#include <stdint.h>			/* for uintptr_t */
+#endif
+
 #include "util.h"
 #include "commonRef.h"
 
