summaryrefslogtreecommitdiff
path: root/rational.c
diff options
context:
space:
mode:
Diffstat (limited to 'rational.c')
-rw-r--r--rational.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rational.c b/rational.c
index c81b89a4a7..48ed7eae17 100644
--- a/rational.c
+++ b/rational.c
@@ -12,6 +12,10 @@
#define NDEBUG
#include <assert.h>
+#ifdef HAVE_IEEEFP_H
+#include <ieeefp.h>
+#endif
+
#ifndef RATIONAL_NAME
#define RATIONAL_NAME "Rational"
#endif