$OpenBSD: patch-jdk_src_share_back_commonRef_c,v 1.2 2011/01/11 15:47:50 kurt Exp $
--- jdk/src/share/back/commonRef.c.orig	Fri Aug 13 03:21:41 2010
+++ jdk/src/share/back/commonRef.c	Mon Oct 25 18:15:47 2010
@@ -23,6 +23,10 @@
  * questions.
  */
 
+#if defined(_ALLBSD_SOURCE)
+#include <stdint.h>			/* for uintptr_t */
+#endif
+
 #include "util.h"
 #include "commonRef.h"
 
