28bb810af5
Merge patches for 1.9.2 mozilla branch from firefox 3.6.x port. While here, build lightning as a subpackage using --enable-calendar. Add @pkgpath/@conflict markers for seamless upgrades.
12 lines
395 B
Plaintext
12 lines
395 B
Plaintext
$OpenBSD: patch-mozilla_js_src_jsgc_cpp,v 1.2 2010/07/27 17:01:16 landry Exp $
|
|
--- mozilla/js/src/jsgc.cpp.orig Wed Jun 23 19:46:38 2010
|
|
+++ mozilla/js/src/jsgc.cpp Wed Jul 7 08:43:19 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. */
|