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