summaryrefslogtreecommitdiff
path: root/tests/tfprintf.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-09-10 00:17:06 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-09-10 00:17:06 +0000
commitdf10a35cd2f438fc8f55ef15a2bfecfa109ee006 (patch)
tree35fcc6d90893ff4cdaab5db333397fed2c9b1a28 /tests/tfprintf.c
parenta61bbe8601aac72fd18d038cbe768bf664ce7bc2 (diff)
downloadmpfr-df10a35cd2f438fc8f55ef15a2bfecfa109ee006.tar.gz
Include config.h when need be.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9675 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tfprintf.c')
-rw-r--r--tests/tfprintf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tfprintf.c b/tests/tfprintf.c
index 41d067f15..97de9b9cc 100644
--- a/tests/tfprintf.c
+++ b/tests/tfprintf.c
@@ -20,6 +20,11 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
+/* Include config.h before using ANY configure macros if needed. */
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#if defined(HAVE_STDARG) && !defined(MPFR_USE_MINI_GMP)
#include <stdarg.h>