diff options
Diffstat (limited to 'testsuites/libtests/math')
-rw-r--r-- | testsuites/libtests/math/domath.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/math/domath.in | 4 | ||||
-rw-r--r-- | testsuites/libtests/math/init.c | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/testsuites/libtests/math/domath.c b/testsuites/libtests/math/domath.c index 2137d34d67..69f1459767 100644 --- a/testsuites/libtests/math/domath.c +++ b/testsuites/libtests/math/domath.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/math/domath.in b/testsuites/libtests/math/domath.in index a41038744e..7a46dfa618 100644 --- a/testsuites/libtests/math/domath.in +++ b/testsuites/libtests/math/domath.in @@ -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/math/init.c b/testsuites/libtests/math/init.c index 4d50401cea..c490e6128e 100644 --- a/testsuites/libtests/math/init.c +++ b/testsuites/libtests/math/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 |