summaryrefslogtreecommitdiff
path: root/tests/mpfr-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mpfr-test.h')
-rw-r--r--tests/mpfr-test.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/mpfr-test.h b/tests/mpfr-test.h
index 6e39b7a28..5e67905af 100644
--- a/tests/mpfr-test.h
+++ b/tests/mpfr-test.h
@@ -23,6 +23,11 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#ifndef __MPFR_TEST_H__
#define __MPFR_TEST_H__
+/* Include config.h before using ANY configure macros if needed. */
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
/* The no assertion request doesn't apply to the tests */
#if defined(MPFR_WANT_ASSERT)
# if MPFR_WANT_ASSERT < 0