summaryrefslogtreecommitdiff
path: root/tests/trint.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-12-21 15:54:00 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-12-21 15:54:00 +0000
commite39f76588798816a18872d5655873eb0100768e4 (patch)
treeefdcb5b1c4ab3ac823fd30c46d00990f3facb334 /tests/trint.c
parenta55c32d9d5887234cc6f71fc7065709321604a83 (diff)
downloadmpfr-e39f76588798816a18872d5655873eb0100768e4.tar.gz
Fixed errors reported by Nelson H. F. Beebe
(forget to include sys/fpu.h if defined and math.h if std=c99). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3159 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/trint.c')
-rw-r--r--tests/trint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/trint.c b/tests/trint.c
index 3a93bc66e..9d07a79cb 100644
--- a/tests/trint.c
+++ b/tests/trint.c
@@ -25,6 +25,10 @@ MA 02111-1307, USA. */
#include "mpfr-test.h"
+#if __MPFR_STDC (199901L)
+# include <math.h>
+#endif
+
static void
special (void)
{