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

12 lines
373 B
Plaintext
Raw Normal View History

$OpenBSD: patch-js_src_jsgc_cpp,v 1.1 2009/07/20 23:41:34 martynas Exp $
--- js/src/jsgc.cpp.orig Wed Jul 15 18:34:51 2009
+++ js/src/jsgc.cpp Tue Jul 21 02:35:16 2009
@@ -118,6 +118,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. */