openbsd-ports/www/firefox36/patches/patch-js_src_nanojit_Nativei386_cpp
naddy 1090f160fd Import Firefox 3.6.2. Work in progress, not linked to the build.
Builds and runs on amd64 and i386, needs work elsewhere.
From martynas@ for 3.6; slightly updated by yours truly.
2010-03-29 20:44:08 +00:00

12 lines
376 B
Plaintext

$OpenBSD: patch-js_src_nanojit_Nativei386_cpp,v 1.1.1.1 2010/03/29 20:44:10 naddy Exp $
--- js/src/nanojit/Nativei386.cpp.orig Wed Jan 6 05:35:17 2010
+++ js/src/nanojit/Nativei386.cpp Sun Jan 10 17:47:27 2010
@@ -46,6 +46,7 @@
#endif
#if defined AVMPLUS_UNIX || defined AVMPLUS_MAC
+#include <sys/types.h>
#include <sys/mman.h>
#include <errno.h>
#include <stdlib.h>