openbsd-ports/www/mozilla-firefox/patches/patch-js_src_jsgc_cpp
landry ad076fd40f Update www/mozilla-firefox from 3.0.19 to 3.6.3, merging the wip done in
www/firefox36 mostly by martynas@ and naddy@.
Note that the java plugin from devel/jdk currently doesn't work with this
version of firefox, in the meantime users really needed it will have to
use www/firefox35.
ok naddy@
2010-04-26 19:55:58 +00:00

12 lines
371 B
Plaintext

$OpenBSD: patch-js_src_jsgc_cpp,v 1.1 2010/04/26 19:55:58 landry Exp $
--- js/src/jsgc.cpp.orig Wed Jan 6 05:35:17 2010
+++ js/src/jsgc.cpp Sun Jan 10 17:47:27 2010
@@ -128,6 +128,7 @@ extern "C" {
# ifndef JS_GC_USE_MMAP
# define JS_GC_USE_MMAP 1
# endif
+# include <sys/types.h>
# include <sys/mman.h>
/* On Mac OS X MAP_ANONYMOUS is not defined. */