aboutsummaryrefslogtreecommitdiff
path: root/lang/spidermonkey140/files/patch-js_src_jit_ExecutableAllocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/spidermonkey140/files/patch-js_src_jit_ExecutableAllocator.h')
-rw-r--r--lang/spidermonkey140/files/patch-js_src_jit_ExecutableAllocator.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/spidermonkey140/files/patch-js_src_jit_ExecutableAllocator.h b/lang/spidermonkey140/files/patch-js_src_jit_ExecutableAllocator.h
new file mode 100644
index 000000000000..421523e23bd9
--- /dev/null
+++ b/lang/spidermonkey140/files/patch-js_src_jit_ExecutableAllocator.h
@@ -0,0 +1,14 @@
+Index: js/src/jit/ExecutableAllocator.h
+--- js/src/jit/ExecutableAllocator.h.orig 2022-03-30 19:25:41 UTC
++++ js/src/jit/ExecutableAllocator.h
+@@ -39,6 +39,10 @@
+ #include "js/TypeDecls.h"
+ #include "js/Vector.h"
+
++#if defined(__OpenBSD__) && defined(__mips64__)
++#include <mips64/sysarch.h>
++#endif
++
+ namespace JS {
+ struct CodeSizes;
+ } // namespace JS