patch-js_src_jsgc_cpp 371 B

123456789101112
  1. $OpenBSD: patch-js_src_jsgc_cpp,v 1.1 2013/12/09 16:31:59 landry Exp $
  2. --- js/src/jsgc.cpp.orig Wed Jan 6 05:35:17 2010
  3. +++ js/src/jsgc.cpp Sun Jan 10 17:47:27 2010
  4. @@ -128,6 +128,7 @@ extern "C" {
  5. # ifndef JS_GC_USE_MMAP
  6. # define JS_GC_USE_MMAP 1
  7. # endif
  8. +# include <sys/types.h>
  9. # include <sys/mman.h>
  10. /* On Mac OS X MAP_ANONYMOUS is not defined. */