summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-js_src_ion_AsmJSSignalHandlers.cpp
blob: d594060bdb50f4dcbcf6e2d44745c12b038f2f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-js_src_ion_AsmJSSignalHandlers.cpp,v 1.1 2013/06/26 11:32:12 ryoon Exp $

--- js/src/ion/AsmJSSignalHandlers.cpp.orig	2013-06-17 22:13:09.000000000 +0000
+++ js/src/ion/AsmJSSignalHandlers.cpp
@@ -271,7 +271,7 @@ LookupHeapAccess(const AsmJSModule &modu
 # if defined(JS_CPU_X64)
 #  if defined(__DragonFly__)
 #   include <machine/npx.h> // for union savefpu
-#  elif defined(__FreeBSD__) || defined(__OpenBSD__)
+#  elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
 #   include <machine/fpu.h> // for struct savefpu/fxsave64
 #  endif
 # endif