openbsd-ports/www/firefox36/patches/patch-js_src_jsgc_cpp

12 lines
371 B
Plaintext
Raw Normal View History

$OpenBSD: patch-js_src_jsgc_cpp,v 1.3 2011/03/26 10:58:36 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. */