aboutsummaryrefslogtreecommitdiff
path: root/dyngen-exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'dyngen-exec.h')
-rw-r--r--dyngen-exec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dyngen-exec.h b/dyngen-exec.h
index ea20e395d6..2d5209bc89 100644
--- a/dyngen-exec.h
+++ b/dyngen-exec.h
@@ -59,7 +59,11 @@ extern int fprintf(FILE *, const char *, ...);
extern int printf(const char *, ...);
#undef NULL
#define NULL 0
+#ifdef _BSD
+#include <ieeefp.h>
+#else
#include <fenv.h>
+#endif
#ifdef __i386__
#define AREG0 "ebp"