summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests')
-rw-r--r--testsuites/libtests/POSIX/calloc.c4
-rw-r--r--testsuites/libtests/POSIX/clock_gettime.c4
-rw-r--r--testsuites/libtests/POSIX/close.c4
-rw-r--r--testsuites/libtests/POSIX/dup2.c4
-rw-r--r--testsuites/libtests/POSIX/fcntl.c4
-rw-r--r--testsuites/libtests/POSIX/flockfile.c4
-rw-r--r--testsuites/libtests/POSIX/fork.c4
-rw-r--r--testsuites/libtests/POSIX/free.c4
-rw-r--r--testsuites/libtests/POSIX/fstat.c4
-rw-r--r--testsuites/libtests/POSIX/ftrylockfile.c4
-rw-r--r--testsuites/libtests/POSIX/funlockfile.c4
-rw-r--r--testsuites/libtests/POSIX/getdents.c4
-rw-r--r--testsuites/libtests/POSIX/getlogin.c4
-rw-r--r--testsuites/libtests/POSIX/getpwnam.c4
-rw-r--r--testsuites/libtests/POSIX/getpwuid.c4
-rw-r--r--testsuites/libtests/POSIX/gettimeofday.c4
-rw-r--r--testsuites/libtests/POSIX/getuid.c4
-rw-r--r--testsuites/libtests/POSIX/htonl.c4
-rw-r--r--testsuites/libtests/POSIX/issetugid.c4
-rw-r--r--testsuites/libtests/POSIX/kill.c4
-rw-r--r--testsuites/libtests/POSIX/longjmp.c4
-rw-r--r--testsuites/libtests/POSIX/lseek.c4
-rw-r--r--testsuites/libtests/POSIX/lstat.c4
-rw-r--r--testsuites/libtests/POSIX/malloc.c4
-rw-r--r--testsuites/libtests/POSIX/nanosleep.c4
-rw-r--r--testsuites/libtests/POSIX/open.c4
-rw-r--r--testsuites/libtests/POSIX/pipe.c4
-rw-r--r--testsuites/libtests/POSIX/posix_memalign.c4
-rw-r--r--testsuites/libtests/POSIX/read.c4
-rw-r--r--testsuites/libtests/POSIX/readv.c4
-rw-r--r--testsuites/libtests/POSIX/realloc.c4
-rw-r--r--testsuites/libtests/POSIX/setjmp.c4
-rw-r--r--testsuites/libtests/POSIX/sigaddset.c4
-rw-r--r--testsuites/libtests/POSIX/sigdelset.c4
-rw-r--r--testsuites/libtests/POSIX/sigemptyset.c4
-rw-r--r--testsuites/libtests/POSIX/sigfillset.c4
-rw-r--r--testsuites/libtests/POSIX/sigismember.c4
-rw-r--r--testsuites/libtests/POSIX/sigprocmask.c4
-rw-r--r--testsuites/libtests/POSIX/stat.c4
-rw-r--r--testsuites/libtests/POSIX/unlink.c4
-rw-r--r--testsuites/libtests/POSIX/vfork.c4
-rw-r--r--testsuites/libtests/POSIX/wait.c4
-rw-r--r--testsuites/libtests/POSIX/waitpid.c4
-rw-r--r--testsuites/libtests/POSIX/write.c4
-rw-r--r--testsuites/libtests/POSIX/writev.c4
-rw-r--r--testsuites/libtests/block01/init.c4
-rw-r--r--testsuites/libtests/block02/init.c4
-rw-r--r--testsuites/libtests/block03/init.c4
-rw-r--r--testsuites/libtests/block04/init.c4
-rw-r--r--testsuites/libtests/block05/init.c4
-rw-r--r--testsuites/libtests/block06/init.c4
-rw-r--r--testsuites/libtests/block07/init.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test1_1.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test1_2.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test1_3.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test1_4.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test1_5.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test2_1.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test2_2.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test3_1.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test3_2.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test3_3.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test4_1.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test4_2.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_test4_3.c4
-rw-r--r--testsuites/libtests/block08/bdbuf_tests.c4
-rw-r--r--testsuites/libtests/block08/init.c4
-rw-r--r--testsuites/libtests/block09/init.c4
-rw-r--r--testsuites/libtests/block10/init.c4
-rw-r--r--testsuites/libtests/bspcmdline01/init.c4
-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
-rw-r--r--testsuites/libtests/cpuuse/init.c4
-rw-r--r--testsuites/libtests/cpuuse/task1.c4
-rw-r--r--testsuites/libtests/cpuuse/task2.c4
-rw-r--r--testsuites/libtests/cpuuse/task3.c4
-rw-r--r--testsuites/libtests/cpuuse/tswitch.c4
-rw-r--r--testsuites/libtests/devfs01/init.c4
-rw-r--r--testsuites/libtests/devfs02/init.c4
-rw-r--r--testsuites/libtests/devfs03/init.c4
-rw-r--r--testsuites/libtests/devfs04/init.c4
-rw-r--r--testsuites/libtests/deviceio01/init.c4
-rw-r--r--testsuites/libtests/dumpbuf01/init.c4
-rw-r--r--testsuites/libtests/gxx01/init.c4
-rw-r--r--testsuites/libtests/heapwalk/init.c4
-rw-r--r--testsuites/libtests/malloc02/init.c4
-rw-r--r--testsuites/libtests/malloc03/init.c4
-rw-r--r--testsuites/libtests/malloc04/init.c4
-rw-r--r--testsuites/libtests/malloc05/init.c4
-rw-r--r--testsuites/libtests/malloctest/init.c4
-rw-r--r--testsuites/libtests/malloctest/task1.c4
-rw-r--r--testsuites/libtests/math/domath.c4
-rw-r--r--testsuites/libtests/math/domath.in4
-rw-r--r--testsuites/libtests/math/init.c4
-rw-r--r--testsuites/libtests/mathf/domathf.c4
-rw-r--r--testsuites/libtests/mathf/init.c4
-rw-r--r--testsuites/libtests/mathl/domathl.c4
-rw-r--r--testsuites/libtests/mathl/init.c4
-rw-r--r--testsuites/libtests/monitor/init.c4
-rw-r--r--testsuites/libtests/monitor02/init.c4
-rw-r--r--testsuites/libtests/putenvtest/init.c4
-rw-r--r--testsuites/libtests/rtmonuse/getall.c4
-rw-r--r--testsuites/libtests/rtmonuse/init.c4
-rw-r--r--testsuites/libtests/rtmonuse/task1.c4
-rw-r--r--testsuites/libtests/stackchk/blow.c4
-rw-r--r--testsuites/libtests/stackchk/init.c4
-rw-r--r--testsuites/libtests/stackchk/task1.c4
-rw-r--r--testsuites/libtests/stackchk01/init.c4
-rw-r--r--testsuites/libtests/stringto01/init.c4
-rw-r--r--testsuites/libtests/tar01/init.c4
-rw-r--r--testsuites/libtests/tar02/init.c4
-rw-r--r--testsuites/libtests/tar03/init.c4
-rw-r--r--testsuites/libtests/termios/init.c4
-rw-r--r--testsuites/libtests/termios01/init.c4
-rw-r--r--testsuites/libtests/termios01/termios_testdriver.c4
-rw-r--r--testsuites/libtests/termios02/init.c4
-rw-r--r--testsuites/libtests/termios03/init.c4
-rw-r--r--testsuites/libtests/termios03/termios_testdriver_polled.c4
-rw-r--r--testsuites/libtests/termios04/init.c4
-rw-r--r--testsuites/libtests/termios04/termios_testdriver_intr.c4
-rw-r--r--testsuites/libtests/termios05/init.c4
-rw-r--r--testsuites/libtests/termios05/termios_testdriver_taskdriven.c4
-rw-r--r--testsuites/libtests/termios06/init.c4
-rw-r--r--testsuites/libtests/termios06/test_pppd.c4
-rw-r--r--testsuites/libtests/termios07/init.c4
-rw-r--r--testsuites/libtests/termios08/init.c4
-rw-r--r--testsuites/libtests/tztest/init.c4
130 files changed, 520 insertions, 0 deletions
diff --git a/testsuites/libtests/POSIX/calloc.c b/testsuites/libtests/POSIX/calloc.c
index e46ae1a2f3..bd04faa800 100644
--- a/testsuites/libtests/POSIX/calloc.c
+++ b/testsuites/libtests/POSIX/calloc.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
int
diff --git a/testsuites/libtests/POSIX/clock_gettime.c b/testsuites/libtests/POSIX/clock_gettime.c
index 6172a41b68..d3d86b572d 100644
--- a/testsuites/libtests/POSIX/clock_gettime.c
+++ b/testsuites/libtests/POSIX/clock_gettime.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
int
diff --git a/testsuites/libtests/POSIX/close.c b/testsuites/libtests/POSIX/close.c
index 832320d4e3..5468adc160 100644
--- a/testsuites/libtests/POSIX/close.c
+++ b/testsuites/libtests/POSIX/close.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
int
diff --git a/testsuites/libtests/POSIX/dup2.c b/testsuites/libtests/POSIX/dup2.c
index c9d231217c..b090d63432 100644
--- a/testsuites/libtests/POSIX/dup2.c
+++ b/testsuites/libtests/POSIX/dup2.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
int
diff --git a/testsuites/libtests/POSIX/fcntl.c b/testsuites/libtests/POSIX/fcntl.c
index 3e4844e957..dc59d5db3c 100644
--- a/testsuites/libtests/POSIX/fcntl.c
+++ b/testsuites/libtests/POSIX/fcntl.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include <fcntl.h>
diff --git a/testsuites/libtests/POSIX/flockfile.c b/testsuites/libtests/POSIX/flockfile.c
index 7ab69a49f2..4d1f23ee34 100644
--- a/testsuites/libtests/POSIX/flockfile.c
+++ b/testsuites/libtests/POSIX/flockfile.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
int main(void)
diff --git a/testsuites/libtests/POSIX/fork.c b/testsuites/libtests/POSIX/fork.c
index 1fc5d5d977..d4392be4e0 100644
--- a/testsuites/libtests/POSIX/fork.c
+++ b/testsuites/libtests/POSIX/fork.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
int
diff --git a/testsuites/libtests/POSIX/free.c b/testsuites/libtests/POSIX/free.c
index e139949cf0..8473084fb1 100644
--- a/testsuites/libtests/POSIX/free.c
+++ b/testsuites/libtests/POSIX/free.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
int
diff --git a/testsuites/libtests/POSIX/fstat.c b/testsuites/libtests/POSIX/fstat.c
index f734917bf7..29c38d6eae 100644
--- a/testsuites/libtests/POSIX/fstat.c
+++ b/testsuites/libtests/POSIX/fstat.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/testsuites/libtests/POSIX/ftrylockfile.c b/testsuites/libtests/POSIX/ftrylockfile.c
index 423e6bfad7..8e99406493 100644
--- a/testsuites/libtests/POSIX/ftrylockfile.c
+++ b/testsuites/libtests/POSIX/ftrylockfile.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
int main(void)
diff --git a/testsuites/libtests/POSIX/funlockfile.c b/testsuites/libtests/POSIX/funlockfile.c
index 93017a464c..571b9e8b80 100644
--- a/testsuites/libtests/POSIX/funlockfile.c
+++ b/testsuites/libtests/POSIX/funlockfile.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
int main(void)
diff --git a/testsuites/libtests/POSIX/getdents.c b/testsuites/libtests/POSIX/getdents.c
index 74b4f119fb..bb731e9862 100644
--- a/testsuites/libtests/POSIX/getdents.c
+++ b/testsuites/libtests/POSIX/getdents.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <dirent.h>
int
diff --git a/testsuites/libtests/POSIX/getlogin.c b/testsuites/libtests/POSIX/getlogin.c
index 9cfd9f9e66..f5f38a7ad2 100644
--- a/testsuites/libtests/POSIX/getlogin.c
+++ b/testsuites/libtests/POSIX/getlogin.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
int
diff --git a/testsuites/libtests/POSIX/getpwnam.c b/testsuites/libtests/POSIX/getpwnam.c
index 89f307e4b9..c220871de4 100644
--- a/testsuites/libtests/POSIX/getpwnam.c
+++ b/testsuites/libtests/POSIX/getpwnam.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <pwd.h>
diff --git a/testsuites/libtests/POSIX/getpwuid.c b/testsuites/libtests/POSIX/getpwuid.c
index 42e36a22d8..fb4d050d2a 100644
--- a/testsuites/libtests/POSIX/getpwuid.c
+++ b/testsuites/libtests/POSIX/getpwuid.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <pwd.h>
diff --git a/testsuites/libtests/POSIX/gettimeofday.c b/testsuites/libtests/POSIX/gettimeofday.c
index a5ccd3d1d3..f3fa6736ef 100644
--- a/testsuites/libtests/POSIX/gettimeofday.c
+++ b/testsuites/libtests/POSIX/gettimeofday.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/time.h>
int
diff --git a/testsuites/libtests/POSIX/getuid.c b/testsuites/libtests/POSIX/getuid.c
index 48c7ad135d..d4b942c58d 100644
--- a/testsuites/libtests/POSIX/getuid.c
+++ b/testsuites/libtests/POSIX/getuid.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include <sys/types.h>
diff --git a/testsuites/libtests/POSIX/htonl.c b/testsuites/libtests/POSIX/htonl.c
index 71aa969db7..ecdaa9c05e 100644
--- a/testsuites/libtests/POSIX/htonl.c
+++ b/testsuites/libtests/POSIX/htonl.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <arpa/inet.h>
int
diff --git a/testsuites/libtests/POSIX/issetugid.c b/testsuites/libtests/POSIX/issetugid.c
index f414cf2f6f..01ead61a5f 100644
--- a/testsuites/libtests/POSIX/issetugid.c
+++ b/testsuites/libtests/POSIX/issetugid.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
int
diff --git a/testsuites/libtests/POSIX/kill.c b/testsuites/libtests/POSIX/kill.c
index ab6f38c823..1ab2d77b0a 100644
--- a/testsuites/libtests/POSIX/kill.c
+++ b/testsuites/libtests/POSIX/kill.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
int
diff --git a/testsuites/libtests/POSIX/longjmp.c b/testsuites/libtests/POSIX/longjmp.c
index 1eb8291ab1..68f0f83816 100644
--- a/testsuites/libtests/POSIX/longjmp.c
+++ b/testsuites/libtests/POSIX/longjmp.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <setjmp.h>
int
diff --git a/testsuites/libtests/POSIX/lseek.c b/testsuites/libtests/POSIX/lseek.c
index f9309fdf59..169d55c1c6 100644
--- a/testsuites/libtests/POSIX/lseek.c
+++ b/testsuites/libtests/POSIX/lseek.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/libtests/POSIX/lstat.c b/testsuites/libtests/POSIX/lstat.c
index 0139064eca..d92f86e342 100644
--- a/testsuites/libtests/POSIX/lstat.c
+++ b/testsuites/libtests/POSIX/lstat.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/testsuites/libtests/POSIX/malloc.c b/testsuites/libtests/POSIX/malloc.c
index 0e936b36da..2f16bd3472 100644
--- a/testsuites/libtests/POSIX/malloc.c
+++ b/testsuites/libtests/POSIX/malloc.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
int
diff --git a/testsuites/libtests/POSIX/nanosleep.c b/testsuites/libtests/POSIX/nanosleep.c
index af0ff8f786..359ce76d58 100644
--- a/testsuites/libtests/POSIX/nanosleep.c
+++ b/testsuites/libtests/POSIX/nanosleep.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
int
diff --git a/testsuites/libtests/POSIX/open.c b/testsuites/libtests/POSIX/open.c
index b3848ab113..f7d60bb237 100644
--- a/testsuites/libtests/POSIX/open.c
+++ b/testsuites/libtests/POSIX/open.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/testsuites/libtests/POSIX/pipe.c b/testsuites/libtests/POSIX/pipe.c
index debd3a0387..85d15af147 100644
--- a/testsuites/libtests/POSIX/pipe.c
+++ b/testsuites/libtests/POSIX/pipe.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
int
diff --git a/testsuites/libtests/POSIX/posix_memalign.c b/testsuites/libtests/POSIX/posix_memalign.c
index f49dcb3413..a224100f3e 100644
--- a/testsuites/libtests/POSIX/posix_memalign.c
+++ b/testsuites/libtests/POSIX/posix_memalign.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
int
diff --git a/testsuites/libtests/POSIX/read.c b/testsuites/libtests/POSIX/read.c
index 5b0a657511..c495480a40 100644
--- a/testsuites/libtests/POSIX/read.c
+++ b/testsuites/libtests/POSIX/read.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
int
diff --git a/testsuites/libtests/POSIX/readv.c b/testsuites/libtests/POSIX/readv.c
index 785a24cfef..12b804e275 100644
--- a/testsuites/libtests/POSIX/readv.c
+++ b/testsuites/libtests/POSIX/readv.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/uio.h>
int
diff --git a/testsuites/libtests/POSIX/realloc.c b/testsuites/libtests/POSIX/realloc.c
index e3e117ee52..ac972dbc46 100644
--- a/testsuites/libtests/POSIX/realloc.c
+++ b/testsuites/libtests/POSIX/realloc.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
int
diff --git a/testsuites/libtests/POSIX/setjmp.c b/testsuites/libtests/POSIX/setjmp.c
index 07ccec8b03..b460c6796d 100644
--- a/testsuites/libtests/POSIX/setjmp.c
+++ b/testsuites/libtests/POSIX/setjmp.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <setjmp.h>
int
diff --git a/testsuites/libtests/POSIX/sigaddset.c b/testsuites/libtests/POSIX/sigaddset.c
index 56f90a7715..4a01457f40 100644
--- a/testsuites/libtests/POSIX/sigaddset.c
+++ b/testsuites/libtests/POSIX/sigaddset.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
int
diff --git a/testsuites/libtests/POSIX/sigdelset.c b/testsuites/libtests/POSIX/sigdelset.c
index 859df18e74..58b1bcc292 100644
--- a/testsuites/libtests/POSIX/sigdelset.c
+++ b/testsuites/libtests/POSIX/sigdelset.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
int
diff --git a/testsuites/libtests/POSIX/sigemptyset.c b/testsuites/libtests/POSIX/sigemptyset.c
index def1d3c888..effda5e826 100644
--- a/testsuites/libtests/POSIX/sigemptyset.c
+++ b/testsuites/libtests/POSIX/sigemptyset.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
int
diff --git a/testsuites/libtests/POSIX/sigfillset.c b/testsuites/libtests/POSIX/sigfillset.c
index 17cfdc036d..521c85f08d 100644
--- a/testsuites/libtests/POSIX/sigfillset.c
+++ b/testsuites/libtests/POSIX/sigfillset.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
int
diff --git a/testsuites/libtests/POSIX/sigismember.c b/testsuites/libtests/POSIX/sigismember.c
index 802fcd568d..92ff877120 100644
--- a/testsuites/libtests/POSIX/sigismember.c
+++ b/testsuites/libtests/POSIX/sigismember.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
int
diff --git a/testsuites/libtests/POSIX/sigprocmask.c b/testsuites/libtests/POSIX/sigprocmask.c
index 96b437b358..6fc37b379d 100644
--- a/testsuites/libtests/POSIX/sigprocmask.c
+++ b/testsuites/libtests/POSIX/sigprocmask.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
int
diff --git a/testsuites/libtests/POSIX/stat.c b/testsuites/libtests/POSIX/stat.c
index 352da2a4a2..889eb4d620 100644
--- a/testsuites/libtests/POSIX/stat.c
+++ b/testsuites/libtests/POSIX/stat.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/testsuites/libtests/POSIX/unlink.c b/testsuites/libtests/POSIX/unlink.c
index 36c4ddf1ad..25ed5cc499 100644
--- a/testsuites/libtests/POSIX/unlink.c
+++ b/testsuites/libtests/POSIX/unlink.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
int
diff --git a/testsuites/libtests/POSIX/vfork.c b/testsuites/libtests/POSIX/vfork.c
index a947cce144..7868ae686a 100644
--- a/testsuites/libtests/POSIX/vfork.c
+++ b/testsuites/libtests/POSIX/vfork.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/libtests/POSIX/wait.c b/testsuites/libtests/POSIX/wait.c
index 89a6742fe9..9069bdbe2d 100644
--- a/testsuites/libtests/POSIX/wait.c
+++ b/testsuites/libtests/POSIX/wait.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/wait.h>
diff --git a/testsuites/libtests/POSIX/waitpid.c b/testsuites/libtests/POSIX/waitpid.c
index 35d55aaa2e..991d27a8ed 100644
--- a/testsuites/libtests/POSIX/waitpid.c
+++ b/testsuites/libtests/POSIX/waitpid.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/wait.h>
diff --git a/testsuites/libtests/POSIX/write.c b/testsuites/libtests/POSIX/write.c
index 8ee6f849bb..211e7d3b84 100644
--- a/testsuites/libtests/POSIX/write.c
+++ b/testsuites/libtests/POSIX/write.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
int
diff --git a/testsuites/libtests/POSIX/writev.c b/testsuites/libtests/POSIX/writev.c
index aeaa39e9a0..b0312d42c7 100644
--- a/testsuites/libtests/POSIX/writev.c
+++ b/testsuites/libtests/POSIX/writev.c
@@ -6,6 +6,10 @@
* is freely granted, provided that this notice is preserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/uio.h>
int
diff --git a/testsuites/libtests/block01/init.c b/testsuites/libtests/block01/init.c
index ce77670286..4b7720b5da 100644
--- a/testsuites/libtests/block01/init.c
+++ b/testsuites/libtests/block01/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include "tmacros.h"
diff --git a/testsuites/libtests/block02/init.c b/testsuites/libtests/block02/init.c
index 69b48e8096..00c83a162f 100644
--- a/testsuites/libtests/block02/init.c
+++ b/testsuites/libtests/block02/init.c
@@ -19,6 +19,10 @@
* http://www.rtems.com/license/LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/libtests/block03/init.c b/testsuites/libtests/block03/init.c
index 7467f26be6..f101eb78cd 100644
--- a/testsuites/libtests/block03/init.c
+++ b/testsuites/libtests/block03/init.c
@@ -19,6 +19,10 @@
* http://www.rtems.com/license/LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/libtests/block04/init.c b/testsuites/libtests/block04/init.c
index 24d4b775de..27b932a63c 100644
--- a/testsuites/libtests/block04/init.c
+++ b/testsuites/libtests/block04/init.c
@@ -19,6 +19,10 @@
* http://www.rtems.com/license/LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <rtems.h>
diff --git a/testsuites/libtests/block05/init.c b/testsuites/libtests/block05/init.c
index 3e262f8b7c..e795f7effe 100644
--- a/testsuites/libtests/block05/init.c
+++ b/testsuites/libtests/block05/init.c
@@ -19,6 +19,10 @@
* http://www.rtems.com/license/LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <stdarg.h>
#include <errno.h>
diff --git a/testsuites/libtests/block06/init.c b/testsuites/libtests/block06/init.c
index fe5f3b4d5e..fd84049bd4 100644
--- a/testsuites/libtests/block06/init.c
+++ b/testsuites/libtests/block06/init.c
@@ -14,6 +14,10 @@
* Please add more tests
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <setjmp.h>
#include <stdio.h>
diff --git a/testsuites/libtests/block07/init.c b/testsuites/libtests/block07/init.c
index c25a4dc606..ea60a1f092 100644
--- a/testsuites/libtests/block07/init.c
+++ b/testsuites/libtests/block07/init.c
@@ -19,6 +19,10 @@
* http://www.rtems.com/license/LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/testsuites/libtests/block08/bdbuf_test1_1.c b/testsuites/libtests/block08/bdbuf_test1_1.c
index 6e2d2fdd83..9f3ee06b93 100644
--- a/testsuites/libtests/block08/bdbuf_test1_1.c
+++ b/testsuites/libtests/block08/bdbuf_test1_1.c
@@ -26,6 +26,10 @@
* http://www.rtems.com/license/LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test1_1_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test1_2.c b/testsuites/libtests/block08/bdbuf_test1_2.c
index e74c537d4d..61b978ce49 100644
--- a/testsuites/libtests/block08/bdbuf_test1_2.c
+++ b/testsuites/libtests/block08/bdbuf_test1_2.c
@@ -30,6 +30,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test1_2_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test1_3.c b/testsuites/libtests/block08/bdbuf_test1_3.c
index a133448dfb..9ea5b653ab 100644
--- a/testsuites/libtests/block08/bdbuf_test1_3.c
+++ b/testsuites/libtests/block08/bdbuf_test1_3.c
@@ -31,6 +31,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test1_3_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test1_4.c b/testsuites/libtests/block08/bdbuf_test1_4.c
index a3f4e69671..b7a4b0c399 100644
--- a/testsuites/libtests/block08/bdbuf_test1_4.c
+++ b/testsuites/libtests/block08/bdbuf_test1_4.c
@@ -28,6 +28,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test1_4_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test1_5.c b/testsuites/libtests/block08/bdbuf_test1_5.c
index f4a1156bd4..4e09359652 100644
--- a/testsuites/libtests/block08/bdbuf_test1_5.c
+++ b/testsuites/libtests/block08/bdbuf_test1_5.c
@@ -27,6 +27,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test1_5_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test2_1.c b/testsuites/libtests/block08/bdbuf_test2_1.c
index 33d5dd970f..6005657024 100644
--- a/testsuites/libtests/block08/bdbuf_test2_1.c
+++ b/testsuites/libtests/block08/bdbuf_test2_1.c
@@ -30,6 +30,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test2_1_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test2_2.c b/testsuites/libtests/block08/bdbuf_test2_2.c
index 3e858708aa..394a158426 100644
--- a/testsuites/libtests/block08/bdbuf_test2_2.c
+++ b/testsuites/libtests/block08/bdbuf_test2_2.c
@@ -33,6 +33,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test2_2_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test3_1.c b/testsuites/libtests/block08/bdbuf_test3_1.c
index 49141761ba..cdee6eb4be 100644
--- a/testsuites/libtests/block08/bdbuf_test3_1.c
+++ b/testsuites/libtests/block08/bdbuf_test3_1.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test3_1_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test3_2.c b/testsuites/libtests/block08/bdbuf_test3_2.c
index ddebce4e71..b9c97754fb 100644
--- a/testsuites/libtests/block08/bdbuf_test3_2.c
+++ b/testsuites/libtests/block08/bdbuf_test3_2.c
@@ -22,6 +22,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test3_2_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test3_3.c b/testsuites/libtests/block08/bdbuf_test3_3.c
index 1ceee1e722..13ac7a25fb 100644
--- a/testsuites/libtests/block08/bdbuf_test3_3.c
+++ b/testsuites/libtests/block08/bdbuf_test3_3.c
@@ -27,6 +27,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test3_3_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test4_1.c b/testsuites/libtests/block08/bdbuf_test4_1.c
index da6ff9561f..6961c35020 100644
--- a/testsuites/libtests/block08/bdbuf_test4_1.c
+++ b/testsuites/libtests/block08/bdbuf_test4_1.c
@@ -23,6 +23,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test4_1_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test4_2.c b/testsuites/libtests/block08/bdbuf_test4_2.c
index 06587bccd1..628e65eaf9 100644
--- a/testsuites/libtests/block08/bdbuf_test4_2.c
+++ b/testsuites/libtests/block08/bdbuf_test4_2.c
@@ -24,6 +24,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test4_2_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_test4_3.c b/testsuites/libtests/block08/bdbuf_test4_3.c
index 821333c71d..55de280f3d 100644
--- a/testsuites/libtests/block08/bdbuf_test4_3.c
+++ b/testsuites/libtests/block08/bdbuf_test4_3.c
@@ -22,6 +22,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bdbuf_tests.h>
static rtems_task bdbuf_test4_3_thread1(rtems_task_argument arg);
diff --git a/testsuites/libtests/block08/bdbuf_tests.c b/testsuites/libtests/block08/bdbuf_tests.c
index 4ac93fb5ba..bc6b772fb2 100644
--- a/testsuites/libtests/block08/bdbuf_tests.c
+++ b/testsuites/libtests/block08/bdbuf_tests.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
diff --git a/testsuites/libtests/block08/init.c b/testsuites/libtests/block08/init.c
index 157b7716bd..642983f0bd 100644
--- a/testsuites/libtests/block08/init.c
+++ b/testsuites/libtests/block08/init.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/libtests/block09/init.c b/testsuites/libtests/block09/init.c
index d4748d67d6..5d7a8b7e69 100644
--- a/testsuites/libtests/block09/init.c
+++ b/testsuites/libtests/block09/init.c
@@ -19,6 +19,10 @@
* http://www.rtems.com/license/LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
diff --git a/testsuites/libtests/block10/init.c b/testsuites/libtests/block10/init.c
index fd0a6a2d83..18af160be1 100644
--- a/testsuites/libtests/block10/init.c
+++ b/testsuites/libtests/block10/init.c
@@ -19,6 +19,10 @@
* http://www.rtems.com/license/LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
diff --git a/testsuites/libtests/bspcmdline01/init.c b/testsuites/libtests/bspcmdline01/init.c
index 36f1a94087..9bdecd5ac4 100644
--- a/testsuites/libtests/bspcmdline01/init.c
+++ b/testsuites/libtests/bspcmdline01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <rtems/bspcmdline.h>
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
diff --git a/testsuites/libtests/cpuuse/init.c b/testsuites/libtests/cpuuse/init.c
index 3b14d04936..d73d4b274f 100644
--- a/testsuites/libtests/cpuuse/init.c
+++ b/testsuites/libtests/cpuuse/init.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/libtests/cpuuse/task1.c b/testsuites/libtests/cpuuse/task1.c
index 4d0d3667fd..ef7f0c66f4 100644
--- a/testsuites/libtests/cpuuse/task1.c
+++ b/testsuites/libtests/cpuuse/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/libtests/cpuuse/task2.c b/testsuites/libtests/cpuuse/task2.c
index 0b218d140d..977f4853bd 100644
--- a/testsuites/libtests/cpuuse/task2.c
+++ b/testsuites/libtests/cpuuse/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <rtems/cpuuse.h>
diff --git a/testsuites/libtests/cpuuse/task3.c b/testsuites/libtests/cpuuse/task3.c
index faefb4b40b..2a06fd81ce 100644
--- a/testsuites/libtests/cpuuse/task3.c
+++ b/testsuites/libtests/cpuuse/task3.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_3(
diff --git a/testsuites/libtests/cpuuse/tswitch.c b/testsuites/libtests/cpuuse/tswitch.c
index f78e7b700e..d84c7ddf72 100644
--- a/testsuites/libtests/cpuuse/tswitch.c
+++ b/testsuites/libtests/cpuuse/tswitch.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
/*
diff --git a/testsuites/libtests/devfs01/init.c b/testsuites/libtests/devfs01/init.c
index 79fbabf647..aa7b146824 100644
--- a/testsuites/libtests/devfs01/init.c
+++ b/testsuites/libtests/devfs01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <rtems/devfs.h>
diff --git a/testsuites/libtests/devfs02/init.c b/testsuites/libtests/devfs02/init.c
index 3d8fe134dd..f648a177cf 100644
--- a/testsuites/libtests/devfs02/init.c
+++ b/testsuites/libtests/devfs02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <rtems/devfs.h>
diff --git a/testsuites/libtests/devfs03/init.c b/testsuites/libtests/devfs03/init.c
index 90b5a5de6e..07e29263c5 100644
--- a/testsuites/libtests/devfs03/init.c
+++ b/testsuites/libtests/devfs03/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <rtems/devfs.h>
diff --git a/testsuites/libtests/devfs04/init.c b/testsuites/libtests/devfs04/init.c
index e89708a7c6..cc343a0ae4 100644
--- a/testsuites/libtests/devfs04/init.c
+++ b/testsuites/libtests/devfs04/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <rtems/devfs.h>
diff --git a/testsuites/libtests/deviceio01/init.c b/testsuites/libtests/deviceio01/init.c
index f1ff982429..3b0d24dbee 100644
--- a/testsuites/libtests/deviceio01/init.c
+++ b/testsuites/libtests/deviceio01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <rtems/devfs.h>
diff --git a/testsuites/libtests/dumpbuf01/init.c b/testsuites/libtests/dumpbuf01/init.c
index c382bd2d0a..afc8e3d79f 100644
--- a/testsuites/libtests/dumpbuf01/init.c
+++ b/testsuites/libtests/dumpbuf01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <rtems/dumpbuf.h>
diff --git a/testsuites/libtests/gxx01/init.c b/testsuites/libtests/gxx01/init.c
index fd8245bb4c..7b7e5e7918 100644
--- a/testsuites/libtests/gxx01/init.c
+++ b/testsuites/libtests/gxx01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <rtems/gxx_wrappers.h>
diff --git a/testsuites/libtests/heapwalk/init.c b/testsuites/libtests/heapwalk/init.c
index 4d13976790..0cb161447a 100644
--- a/testsuites/libtests/heapwalk/init.c
+++ b/testsuites/libtests/heapwalk/init.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/libtests/malloc02/init.c b/testsuites/libtests/malloc02/init.c
index 7a00cb9082..b9025f6a5f 100644
--- a/testsuites/libtests/malloc02/init.c
+++ b/testsuites/libtests/malloc02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
volatile bool operation_performed_from_tsr;
diff --git a/testsuites/libtests/malloc03/init.c b/testsuites/libtests/malloc03/init.c
index c4547a52b1..82f6481591 100644
--- a/testsuites/libtests/malloc03/init.c
+++ b/testsuites/libtests/malloc03/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
diff --git a/testsuites/libtests/malloc04/init.c b/testsuites/libtests/malloc04/init.c
index ecef918b28..d8e2c9d701 100644
--- a/testsuites/libtests/malloc04/init.c
+++ b/testsuites/libtests/malloc04/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <rtems/libcsupport.h>
diff --git a/testsuites/libtests/malloc05/init.c b/testsuites/libtests/malloc05/init.c
index 7b5444dd6a..1f7d501fce 100644
--- a/testsuites/libtests/malloc05/init.c
+++ b/testsuites/libtests/malloc05/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <rtems/malloc.h>
diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c
index 73da21253e..791e172626 100644
--- a/testsuites/libtests/malloctest/init.c
+++ b/testsuites/libtests/malloctest/init.c
@@ -23,6 +23,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/libtests/malloctest/task1.c b/testsuites/libtests/malloctest/task1.c
index 2c56a27351..281364126b 100644
--- a/testsuites/libtests/malloctest/task1.c
+++ b/testsuites/libtests/malloctest/task1.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <rtems/malloc.h>
#include <string.h>
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
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
diff --git a/testsuites/libtests/mathl/domathl.c b/testsuites/libtests/mathl/domathl.c
index 06a73809ad..74b58e65fd 100644
--- a/testsuites/libtests/mathl/domathl.c
+++ b/testsuites/libtests/mathl/domathl.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/mathl/init.c b/testsuites/libtests/mathl/init.c
index a56f5b8d86..831aa97361 100644
--- a/testsuites/libtests/mathl/init.c
+++ b/testsuites/libtests/mathl/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
diff --git a/testsuites/libtests/monitor/init.c b/testsuites/libtests/monitor/init.c
index 76c0180101..0ae10b1c77 100644
--- a/testsuites/libtests/monitor/init.c
+++ b/testsuites/libtests/monitor/init.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/libtests/monitor02/init.c b/testsuites/libtests/monitor02/init.c
index 30088e7e58..f7ea905365 100644
--- a/testsuites/libtests/monitor02/init.c
+++ b/testsuites/libtests/monitor02/init.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "bsp.h"
#include "system.h"
diff --git a/testsuites/libtests/putenvtest/init.c b/testsuites/libtests/putenvtest/init.c
index b0bf6cdbf5..8253f867f7 100644
--- a/testsuites/libtests/putenvtest/init.c
+++ b/testsuites/libtests/putenvtest/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include <tmacros.h>
#include <stdio.h>
diff --git a/testsuites/libtests/rtmonuse/getall.c b/testsuites/libtests/rtmonuse/getall.c
index b2ce0f72cc..aace20f66c 100644
--- a/testsuites/libtests/rtmonuse/getall.c
+++ b/testsuites/libtests/rtmonuse/getall.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Get_all_counters()
diff --git a/testsuites/libtests/rtmonuse/init.c b/testsuites/libtests/rtmonuse/init.c
index 5dd3b2f967..1a512cd14c 100644
--- a/testsuites/libtests/rtmonuse/init.c
+++ b/testsuites/libtests/rtmonuse/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/libtests/rtmonuse/task1.c b/testsuites/libtests/rtmonuse/task1.c
index 4b1f7e3fc3..00a614534a 100644
--- a/testsuites/libtests/rtmonuse/task1.c
+++ b/testsuites/libtests/rtmonuse/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <rtems/cpuuse.h>
diff --git a/testsuites/libtests/stackchk/blow.c b/testsuites/libtests/stackchk/blow.c
index feefa5678c..9c2994e643 100644
--- a/testsuites/libtests/stackchk/blow.c
+++ b/testsuites/libtests/stackchk/blow.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems.h>
#include <rtems/stackchk.h>
diff --git a/testsuites/libtests/stackchk/init.c b/testsuites/libtests/stackchk/init.c
index 3c32b3da29..8a7610b77a 100644
--- a/testsuites/libtests/stackchk/init.c
+++ b/testsuites/libtests/stackchk/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/libtests/stackchk/task1.c b/testsuites/libtests/stackchk/task1.c
index 69114389a9..38138d4564 100644
--- a/testsuites/libtests/stackchk/task1.c
+++ b/testsuites/libtests/stackchk/task1.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1_through_3(
diff --git a/testsuites/libtests/stackchk01/init.c b/testsuites/libtests/stackchk01/init.c
index e2a7c08a9e..aad3c90262 100644
--- a/testsuites/libtests/stackchk01/init.c
+++ b/testsuites/libtests/stackchk01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <rtems/stackchk.h>
diff --git a/testsuites/libtests/stringto01/init.c b/testsuites/libtests/stringto01/init.c
index d86f778273..0870a1f337 100644
--- a/testsuites/libtests/stringto01/init.c
+++ b/testsuites/libtests/stringto01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <rtems/stringto.h>
#include <limits.h>
diff --git a/testsuites/libtests/tar01/init.c b/testsuites/libtests/tar01/init.c
index 6abeb05287..63f5ac5136 100644
--- a/testsuites/libtests/tar01/init.c
+++ b/testsuites/libtests/tar01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h> /* for device driver prototypes */
#include "tmacros.h"
#include <rtems/untar.h>
diff --git a/testsuites/libtests/tar02/init.c b/testsuites/libtests/tar02/init.c
index a6c05c9d18..b993b4ad49 100644
--- a/testsuites/libtests/tar02/init.c
+++ b/testsuites/libtests/tar02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h> /* for device driver prototypes */
#include "tmacros.h"
#include <rtems/imfs.h>
diff --git a/testsuites/libtests/tar03/init.c b/testsuites/libtests/tar03/init.c
index d0dacbbca1..fee182975d 100644
--- a/testsuites/libtests/tar03/init.c
+++ b/testsuites/libtests/tar03/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
diff --git a/testsuites/libtests/termios/init.c b/testsuites/libtests/termios/init.c
index 3926e94954..5872135f2b 100644
--- a/testsuites/libtests/termios/init.c
+++ b/testsuites/libtests/termios/init.c
@@ -22,6 +22,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
diff --git a/testsuites/libtests/termios01/init.c b/testsuites/libtests/termios01/init.c
index d564e168ed..b7a633b4fa 100644
--- a/testsuites/libtests/termios01/init.c
+++ b/testsuites/libtests/termios01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <termios.h>
#include <rtems/termiostypes.h>
diff --git a/testsuites/libtests/termios01/termios_testdriver.c b/testsuites/libtests/termios01/termios_testdriver.c
index 4b46af51a5..e96e887fc3 100644
--- a/testsuites/libtests/termios01/termios_testdriver.c
+++ b/testsuites/libtests/termios01/termios_testdriver.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <rtems/libio.h>
#include <stdlib.h>
diff --git a/testsuites/libtests/termios02/init.c b/testsuites/libtests/termios02/init.c
index 4d4ac6beb9..a4040ba9ad 100644
--- a/testsuites/libtests/termios02/init.c
+++ b/testsuites/libtests/termios02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <termios.h>
#include <errno.h>
diff --git a/testsuites/libtests/termios03/init.c b/testsuites/libtests/termios03/init.c
index 0d21d20dd2..a7638258a5 100644
--- a/testsuites/libtests/termios03/init.c
+++ b/testsuites/libtests/termios03/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include "termios_testdriver_polled.h"
diff --git a/testsuites/libtests/termios03/termios_testdriver_polled.c b/testsuites/libtests/termios03/termios_testdriver_polled.c
index 3484f0401d..b148049a6b 100644
--- a/testsuites/libtests/termios03/termios_testdriver_polled.c
+++ b/testsuites/libtests/termios03/termios_testdriver_polled.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <rtems/libio.h>
#include <stdlib.h>
diff --git a/testsuites/libtests/termios04/init.c b/testsuites/libtests/termios04/init.c
index 8f570b002d..2c181165c5 100644
--- a/testsuites/libtests/termios04/init.c
+++ b/testsuites/libtests/termios04/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include "termios_testdriver_intr.h"
diff --git a/testsuites/libtests/termios04/termios_testdriver_intr.c b/testsuites/libtests/termios04/termios_testdriver_intr.c
index 77a680253a..a0212e6095 100644
--- a/testsuites/libtests/termios04/termios_testdriver_intr.c
+++ b/testsuites/libtests/termios04/termios_testdriver_intr.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <rtems/libio.h>
#include <stdlib.h>
diff --git a/testsuites/libtests/termios05/init.c b/testsuites/libtests/termios05/init.c
index a4df3341ee..aea4285bd4 100644
--- a/testsuites/libtests/termios05/init.c
+++ b/testsuites/libtests/termios05/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include "termios_testdriver_intr.h"
diff --git a/testsuites/libtests/termios05/termios_testdriver_taskdriven.c b/testsuites/libtests/termios05/termios_testdriver_taskdriven.c
index 1ef0057df1..5fafdfac97 100644
--- a/testsuites/libtests/termios05/termios_testdriver_taskdriven.c
+++ b/testsuites/libtests/termios05/termios_testdriver_taskdriven.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <rtems/libio.h>
#include <stdlib.h>
diff --git a/testsuites/libtests/termios06/init.c b/testsuites/libtests/termios06/init.c
index 37ec1f7951..32e767f5df 100644
--- a/testsuites/libtests/termios06/init.c
+++ b/testsuites/libtests/termios06/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include "termios_testdriver_polled.h"
diff --git a/testsuites/libtests/termios06/test_pppd.c b/testsuites/libtests/termios06/test_pppd.c
index 6a2884a1d2..0e160d7e51 100644
--- a/testsuites/libtests/termios06/test_pppd.c
+++ b/testsuites/libtests/termios06/test_pppd.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <termios.h>
#include <rtems/termiostypes.h>
diff --git a/testsuites/libtests/termios07/init.c b/testsuites/libtests/termios07/init.c
index 5830587e88..19b022e12b 100644
--- a/testsuites/libtests/termios07/init.c
+++ b/testsuites/libtests/termios07/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include "termios_testdriver_intr.h"
diff --git a/testsuites/libtests/termios08/init.c b/testsuites/libtests/termios08/init.c
index ce347b5001..76e41730d8 100644
--- a/testsuites/libtests/termios08/init.c
+++ b/testsuites/libtests/termios08/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include "termios_testdriver_polled.h"
diff --git a/testsuites/libtests/tztest/init.c b/testsuites/libtests/tztest/init.c
index 9b514e7021..15d2b67853 100644
--- a/testsuites/libtests/tztest/init.c
+++ b/testsuites/libtests/tztest/init.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include <tmacros.h>