79b773
From fd6847c9416f9eebde636e21d794d25d1be8791d Mon Sep 17 00:00:00 2001
79b773
From: Mike Hommey <mh@glandium.org>
79b773
Date: Sat, 1 Jun 2019 09:06:01 +0900
79b773
Subject: [PATCH] Bug 1526653 - Include struct definitions for user_vfp and
79b773
 user_vfp_exc.
79b773
79b773
---
79b773
 js/src/wasm/WasmSignalHandlers.cpp | 11 ++++++++++-
79b773
 1 file changed, 10 insertions(+), 1 deletion(-)
79b773
79b773
diff --git a/js/src/wasm/WasmSignalHandlers.cpp b/js/src/wasm/WasmSignalHandlers.cpp
79b773
index 636537f8478..383c380f04c 100644
79b773
--- a/js/src/wasm/WasmSignalHandlers.cpp
79b773
+++ b/js/src/wasm/WasmSignalHandlers.cpp
79b773
@@ -248,7 +248,16 @@ using mozilla::DebugOnly;
79b773
 #endif
79b773
 
79b773
 #ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
79b773
-#  include <sys/user.h>
79b773
+struct user_vfp {
79b773
+  unsigned long long fpregs[32];
79b773
+  unsigned long fpscr;
79b773
+};
79b773
+
79b773
+struct user_vfp_exc {
79b773
+  unsigned long fpexc;
79b773
+  unsigned long fpinst;
79b773
+  unsigned long fpinst2;
79b773
+};
79b773
 #endif
79b773
 
79b773
 #if defined(ANDROID)
79b773
-- 
79b773
2.20.1
79b773