summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/mathf
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/mathf')
-rw-r--r--testsuites/libtests/mathf/domathf.c4
-rw-r--r--testsuites/libtests/mathf/init.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/libtests/mathf/domathf.c b/testsuites/libtests/mathf/domathf.c
index 6d99ae1883..24cb8e0623 100644
--- a/testsuites/libtests/mathf/domathf.c
+++ b/testsuites/libtests/mathf/domathf.c
@@ -10,6 +10,10 @@
* Try to compile and link against POSIX math routines.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <math.h>
#include <stdio.h>
diff --git a/testsuites/libtests/mathf/init.c b/testsuites/libtests/mathf/init.c
index c06370023a..60801af557 100644
--- a/testsuites/libtests/mathf/init.c
+++ b/testsuites/libtests/mathf/init.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if __rtems__
#include <bsp.h> /* for device driver prototypes */
#endif