openbsd-ports/www/firefox35/patches/patch-js_src_nanojit_NativeSparc_cpp
martynas 17e560f7ba - mman needs types
- enable jit.  currently on i386, arm, sparc
tested by naddy@
javascript performance more than 2x faster, according to sunspider
benchmark
2009-07-20 23:41:34 +00:00

12 lines
363 B
Plaintext

$OpenBSD: patch-js_src_nanojit_NativeSparc_cpp,v 1.1 2009/07/20 23:41:34 martynas Exp $
--- js/src/nanojit/NativeSparc.cpp.orig Wed Jul 15 18:34:51 2009
+++ js/src/nanojit/NativeSparc.cpp Tue Jul 21 02:36:43 2009
@@ -37,6 +37,7 @@
*
* ***** END LICENSE BLOCK ***** */
+#include <sys/types.h>
#include <sys/mman.h>
#include <errno.h>
#include "nanojit.h"