$OpenBSD: patch-jsval_h,v 1.1.1.1 2012/04/07 13:48:18 landry Exp $
http://hg.mozilla.org/tracemonkey/rev/68203913d04c
--- jsval.h.orig	Thu Mar 31 21:08:36 2011
+++ jsval.h	Wed Apr  4 16:32:50 2012
@@ -347,6 +347,7 @@ typedef union jsval_layout
             int32          i32;
             uint32         u32;
             JSWhyMagic     why;
+            jsuword        word;
         } payload;
     } s;
     double asDouble;
@@ -815,7 +816,7 @@ extern "C++"
 #else /* defined(JS_USE_JSVAL_JSID_STRUCT_TYPES) */
 
 /* Use different primitive types so overloading works. */
-typedef JSVAL_ALIGNMENT uint64 jsval;
+typedef JSVAL_ALIGNMENT uint64_t jsval;
 typedef ptrdiff_t              jsid;
 
 /* Internal helper macros */
