Browse Source

Use our headers on linux

Keno Fischer 12 years ago
parent
commit
1b13e29e37
6 changed files with 6 additions and 6 deletions
  1. 1 1
      i387/fenv.c
  2. 1 1
      ia64/s_fma.S
  3. 1 1
      ia64/s_fmaf.S
  4. 1 1
      ia64/s_fmal.S
  5. 1 1
      sparc64/e_sqrt.S
  6. 1 1
      sparc64/e_sqrtf.S

+ 1 - 1
i387/fenv.c

@@ -28,7 +28,7 @@
 
 #include <include/cdefs-compat.h>
 #include <include/types-compat.h>
-#ifdef __WIN32__
+#if defined(__WIN32__) || defined(__linux__)
 #include <i387/bsd_npx.h>
 #else
 #include <machine/npx.h>

+ 1 - 1
ia64/s_fma.S

@@ -24,7 +24,7 @@
  * SUCH DAMAGE.
  */
 
-#include <machine/asm.h>
+#include <bsd_asm.h>
 //__FBSDID("$FreeBSD: src/lib/msun/ia64/s_fma.S,v 1.2 2009/05/25 14:37:10 attilio Exp $")
 
 ENTRY(fma, 3)

+ 1 - 1
ia64/s_fmaf.S

@@ -24,7 +24,7 @@
  * SUCH DAMAGE.
  */
 
-#include <machine/asm.h>
+#include <bsd_asm.h>
 //__FBSDID("$FreeBSD: src/lib/msun/ia64/s_fmaf.S,v 1.2 2009/05/25 14:37:10 attilio Exp $")
 
 ENTRY(fmaf, 3)

+ 1 - 1
ia64/s_fmal.S

@@ -24,7 +24,7 @@
  * SUCH DAMAGE.
  */
 
-#include <machine/asm.h>
+#include <bsd_asm.h>
 //__FBSDID("$FreeBSD: src/lib/msun/ia64/s_fmal.S,v 1.2 2009/05/25 14:37:10 attilio Exp $")
 
 ENTRY(fmal, 3)

+ 1 - 1
sparc64/e_sqrt.S

@@ -24,7 +24,7 @@
  * SUCH DAMAGE.
  */
 
-#include <machine/asm.h>
+#include <bsd_asm.h>
 //__FBSDID("$FreeBSD: src/lib/msun/sparc64/e_sqrt.S,v 1.1 2005/02/21 18:27:57 das Exp $")
 
 ENTRY(sqrt)

+ 1 - 1
sparc64/e_sqrtf.S

@@ -24,7 +24,7 @@
  * SUCH DAMAGE.
  */
 
-#include <machine/asm.h>
+#include <bsd_asm.h>
 //__FBSDID("$FreeBSD: src/lib/msun/sparc64/e_sqrtf.S,v 1.1 2005/02/21 18:27:57 das Exp $")
 
 ENTRY(sqrtf)