summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/complex
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/complex')
-rw-r--r--testsuites/libtests/complex/docomplex.c4
-rw-r--r--testsuites/libtests/complex/docomplex.in4
-rw-r--r--testsuites/libtests/complex/docomplexf.c4
-rw-r--r--testsuites/libtests/complex/docomplexl.c4
-rw-r--r--testsuites/libtests/complex/init.c4
5 files changed, 20 insertions, 0 deletions
diff --git a/testsuites/libtests/complex/docomplex.c b/testsuites/libtests/complex/docomplex.c
index 28ddce3d1f..2a84a2954e 100644
--- a/testsuites/libtests/complex/docomplex.c
+++ b/testsuites/libtests/complex/docomplex.c
@@ -10,6 +10,10 @@
* Try to compile and link against POSIX complex math routines.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <complex.h>
#include <stdio.h>
diff --git a/testsuites/libtests/complex/docomplex.in b/testsuites/libtests/complex/docomplex.in
index e4fd94af7c..9b9ae3c5fd 100644
--- a/testsuites/libtests/complex/docomplex.in
+++ b/testsuites/libtests/complex/docomplex.in
@@ -10,6 +10,10 @@
* Try to compile and link against POSIX complex math routines.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <complex.h>
#include <stdio.h>
diff --git a/testsuites/libtests/complex/docomplexf.c b/testsuites/libtests/complex/docomplexf.c
index 4c07c7b43b..765815fc72 100644
--- a/testsuites/libtests/complex/docomplexf.c
+++ b/testsuites/libtests/complex/docomplexf.c
@@ -10,6 +10,10 @@
* Try to compile and link against POSIX complex math routines.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <complex.h>
#include <stdio.h>
diff --git a/testsuites/libtests/complex/docomplexl.c b/testsuites/libtests/complex/docomplexl.c
index 7351a08ac0..a6fe3b0dd0 100644
--- a/testsuites/libtests/complex/docomplexl.c
+++ b/testsuites/libtests/complex/docomplexl.c
@@ -10,6 +10,10 @@
* Try to compile and link against POSIX complex math routines.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <complex.h>
#include <stdio.h>
diff --git a/testsuites/libtests/complex/init.c b/testsuites/libtests/complex/init.c
index c2dff7ea3e..01bf4b352a 100644
--- a/testsuites/libtests/complex/init.c
+++ b/testsuites/libtests/complex/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