$OpenBSD: patch-js_src_jit_ExecutableAllocator_h,v 1.2 2019/03/30 08:10:45 ajacoutot Exp $

Index: js/src/jit/ExecutableAllocator.h
--- js/src/jit/ExecutableAllocator.h.orig
+++ js/src/jit/ExecutableAllocator.h
@@ -50,6 +50,12 @@
 #include "js/TypeDecls.h"
 #include "js/Vector.h"
 
+#if defined(__mips64__)
+#if defined(__OpenBSD__)
+#include <mips64/sysarch.h>
+#endif
+#endif
+
 #if defined(__sparc__)
 #ifdef __linux__  // bugzilla 502369
 static void sync_instruction_memory(caddr_t v, u_int len) {
