$OpenBSD: patch-js_src_nanojit_NativeSparc_cpp,v 1.3 2011/03/26 10:58:36 landry Exp $
--- js/src/nanojit/NativeSparc.cpp.orig	Wed Jan  6 05:35:17 2010
+++ js/src/nanojit/NativeSparc.cpp	Sun Jan 10 17:47:27 2010
@@ -38,6 +38,7 @@
  *
  * ***** END LICENSE BLOCK ***** */
 
+#include <sys/types.h>
 #include <sys/mman.h>
 #include <errno.h>
 #include "nanojit.h"