summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-22 09:47:36 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-22 09:47:36 +0000
commitcafefbf26360cd6638981221d0e8d1f8b474dfc5 (patch)
tree06673c75b1f747693b3325fa962f65959c7e67bf /testsuites/psxtests
parent2011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-cafefbf26360cd6638981221d0e8d1f8b474dfc5.tar.bz2
Add HAVE_CONFIG_H.
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r--testsuites/psxtests/psx01/init.c4
-rw-r--r--testsuites/psxtests/psx01/task.c4
-rw-r--r--testsuites/psxtests/psx02/init.c4
-rw-r--r--testsuites/psxtests/psx02/task.c4
-rw-r--r--testsuites/psxtests/psx03/init.c4
-rw-r--r--testsuites/psxtests/psx03/task.c4
-rw-r--r--testsuites/psxtests/psx04/init.c4
-rw-r--r--testsuites/psxtests/psx04/task1.c4
-rw-r--r--testsuites/psxtests/psx04/task2.c4
-rw-r--r--testsuites/psxtests/psx04/task3.c4
-rw-r--r--testsuites/psxtests/psx05/init.c4
-rw-r--r--testsuites/psxtests/psx05/task.c4
-rw-r--r--testsuites/psxtests/psx05/task2.c4
-rw-r--r--testsuites/psxtests/psx05/task3.c4
-rw-r--r--testsuites/psxtests/psx06/init.c4
-rw-r--r--testsuites/psxtests/psx06/task.c4
-rw-r--r--testsuites/psxtests/psx06/task2.c4
-rw-r--r--testsuites/psxtests/psx07/init.c4
-rw-r--r--testsuites/psxtests/psx07/task.c4
-rw-r--r--testsuites/psxtests/psx08/init.c4
-rw-r--r--testsuites/psxtests/psx08/task1.c4
-rw-r--r--testsuites/psxtests/psx08/task2.c4
-rw-r--r--testsuites/psxtests/psx08/task3.c4
-rw-r--r--testsuites/psxtests/psx09/init.c4
-rw-r--r--testsuites/psxtests/psx10/init.c4
-rw-r--r--testsuites/psxtests/psx10/task.c4
-rw-r--r--testsuites/psxtests/psx10/task2.c4
-rw-r--r--testsuites/psxtests/psx10/task3.c4
-rw-r--r--testsuites/psxtests/psx11/init.c4
-rw-r--r--testsuites/psxtests/psx11/task.c4
-rw-r--r--testsuites/psxtests/psx12/init.c4
-rw-r--r--testsuites/psxtests/psx12/task.c4
-rw-r--r--testsuites/psxtests/psx13/main.c4
-rw-r--r--testsuites/psxtests/psx13/test.c4
-rw-r--r--testsuites/psxtests/psx14/init.c4
-rw-r--r--testsuites/psxtests/psx15/init.c4
-rw-r--r--testsuites/psxtests/psxaio01/init.c4
-rw-r--r--testsuites/psxtests/psxaio02/init.c4
-rw-r--r--testsuites/psxtests/psxaio03/init.c4
-rw-r--r--testsuites/psxtests/psxalarm01/init.c4
-rw-r--r--testsuites/psxtests/psxautoinit01/init.c4
-rw-r--r--testsuites/psxtests/psxautoinit02/init.c4
-rw-r--r--testsuites/psxtests/psxbarrier01/main.c4
-rw-r--r--testsuites/psxtests/psxbarrier01/test.c4
-rw-r--r--testsuites/psxtests/psxcancel/init.c4
-rw-r--r--testsuites/psxtests/psxcancel01/init.c4
-rw-r--r--testsuites/psxtests/psxchroot01/main.c4
-rw-r--r--testsuites/psxtests/psxchroot01/test.c4
-rw-r--r--testsuites/psxtests/psxcleanup/psxcleanup.c4
-rw-r--r--testsuites/psxtests/psxcleanup01/init.c4
-rw-r--r--testsuites/psxtests/psxclock/init.c4
-rw-r--r--testsuites/psxtests/psxcond01/init.c4
-rw-r--r--testsuites/psxtests/psxenosys/init.c4
-rw-r--r--testsuites/psxtests/psxfatal_support/init.c4
-rw-r--r--testsuites/psxtests/psxfchx01/init.c4
-rw-r--r--testsuites/psxtests/psxfile01/main.c4
-rw-r--r--testsuites/psxtests/psxfile01/test.c4
-rw-r--r--testsuites/psxtests/psxfile01/test_cat.c4
-rw-r--r--testsuites/psxtests/psxfile01/test_extend.c4
-rw-r--r--testsuites/psxtests/psxfile01/test_write.c4
-rw-r--r--testsuites/psxtests/psxfile02/init.c5
-rw-r--r--testsuites/psxtests/psxfilelock01/init.c4
-rw-r--r--testsuites/psxtests/psxgetrusage01/init.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/clock06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/cond10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/key01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/key02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/key03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/key04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex11.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex12.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex13.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex14.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex15.c4
-rw-r--r--testsuites/psxtests/psxhdrs/mutex16.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc11.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc12.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc13.c4
-rw-r--r--testsuites/psxtests/psxhdrs/proc14.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread11.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread12.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread13.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread14.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread15.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread16.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread17.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread18.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread19.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread20.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread21.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread22.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread23.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread24.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread25.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread26.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread27.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread28.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread29.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread30.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread31.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread32.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread33.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread34.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread35.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread36.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread37.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread38.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread39.c4
-rw-r--r--testsuites/psxtests/psxhdrs/pthread40.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sched08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal11.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal12.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal13.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal14.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal15.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal16.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal17.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal18.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal19.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal20.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal21.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal22.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal23.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sync01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sync02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/sync03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time07.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time08.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time09.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time10.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time11.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time12.c4
-rw-r--r--testsuites/psxtests/psxhdrs/time13.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer01.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer02.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer03.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer04.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer05.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer06.c4
-rw-r--r--testsuites/psxtests/psxhdrs/timer07.c4
-rw-r--r--testsuites/psxtests/psxid01/init.c4
-rw-r--r--testsuites/psxtests/psximfs01/init.c4
-rw-r--r--testsuites/psxtests/psximfs02/init.c4
-rw-r--r--testsuites/psxtests/psxintrcritical01/init.c4
-rw-r--r--testsuites/psxtests/psxitimer/init.c4
-rw-r--r--testsuites/psxtests/psxkey01/init.c4
-rw-r--r--testsuites/psxtests/psxkey01/task.c4
-rw-r--r--testsuites/psxtests/psxkey02/init.c4
-rw-r--r--testsuites/psxtests/psxkey03/init.c4
-rw-r--r--testsuites/psxtests/psxmount/main.c4
-rw-r--r--testsuites/psxtests/psxmount/test.c4
-rw-r--r--testsuites/psxtests/psxmsgq01/init.c4
-rw-r--r--testsuites/psxtests/psxmsgq02/init.c4
-rw-r--r--testsuites/psxtests/psxmsgq03/init.c4
-rw-r--r--testsuites/psxtests/psxmsgq04/init.c4
-rw-r--r--testsuites/psxtests/psxmutexattr01/init.c4
-rw-r--r--testsuites/psxtests/psxobj01/init.c4
-rw-r--r--testsuites/psxtests/psxpasswd01/init.c4
-rw-r--r--testsuites/psxtests/psxpasswd02/init.c4
-rw-r--r--testsuites/psxtests/psxpipe01/init.c4
-rw-r--r--testsuites/psxtests/psxrdwrv/main.c4
-rw-r--r--testsuites/psxtests/psxrdwrv/test.c4
-rw-r--r--testsuites/psxtests/psxreaddir/main.c4
-rw-r--r--testsuites/psxtests/psxreaddir/test.c4
-rw-r--r--testsuites/psxtests/psxrwlock01/main.c4
-rw-r--r--testsuites/psxtests/psxrwlock01/test.c4
-rw-r--r--testsuites/psxtests/psxsem01/init.c4
-rw-r--r--testsuites/psxtests/psxsignal01/init.c4
-rw-r--r--testsuites/psxtests/psxsignal01/task1.c4
-rw-r--r--testsuites/psxtests/psxsignal02/init.c3
-rw-r--r--testsuites/psxtests/psxsignal03/init.c4
-rw-r--r--testsuites/psxtests/psxsignal05/init.c4
-rw-r--r--testsuites/psxtests/psxsignal06/init.c4
-rw-r--r--testsuites/psxtests/psxspin01/main.c4
-rw-r--r--testsuites/psxtests/psxspin01/test.c4
-rw-r--r--testsuites/psxtests/psxspin02/main.c4
-rw-r--r--testsuites/psxtests/psxspin02/test.c4
-rw-r--r--testsuites/psxtests/psxstack01/init.c4
-rw-r--r--testsuites/psxtests/psxstack02/init.c4
-rw-r--r--testsuites/psxtests/psxstat/main.c4
-rw-r--r--testsuites/psxtests/psxstat/test.c4
-rw-r--r--testsuites/psxtests/psxsysconf/init.c4
-rw-r--r--testsuites/psxtests/psxtime/main.c4
-rw-r--r--testsuites/psxtests/psxtime/test.c4
-rw-r--r--testsuites/psxtests/psxtimer01/psxtimer.c4
-rw-r--r--testsuites/psxtests/psxtimer02/psxtimer.c4
-rw-r--r--testsuites/psxtests/psxtimes01/init.c4
-rw-r--r--testsuites/psxtests/psxualarm/init.c4
-rw-r--r--testsuites/psxtests/psxusleep/init.c4
256 files changed, 1024 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c
index f44b5d3105..c3ce2cf925 100644
--- a/testsuites/psxtests/psx01/init.c
+++ b/testsuites/psxtests/psx01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <sched.h>
diff --git a/testsuites/psxtests/psx01/task.c b/testsuites/psxtests/psx01/task.c
index 052f4e82a6..cff9358247 100644
--- a/testsuites/psxtests/psx01/task.c
+++ b/testsuites/psxtests/psx01/task.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Test_init_routine( void );
diff --git a/testsuites/psxtests/psx02/init.c b/testsuites/psxtests/psx02/init.c
index b5971bafff..f37c4624f9 100644
--- a/testsuites/psxtests/psx02/init.c
+++ b/testsuites/psxtests/psx02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psx02/task.c b/testsuites/psxtests/psx02/task.c
index 13487ee1d3..f9a8db241b 100644
--- a/testsuites/psxtests/psx02/task.c
+++ b/testsuites/psxtests/psx02/task.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psx03/init.c b/testsuites/psxtests/psx03/init.c
index 003954e00f..7b3c3ba66f 100644
--- a/testsuites/psxtests/psx03/init.c
+++ b/testsuites/psxtests/psx03/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psx03/task.c b/testsuites/psxtests/psx03/task.c
index b4402ee333..0afcff8758 100644
--- a/testsuites/psxtests/psx03/task.c
+++ b/testsuites/psxtests/psx03/task.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psx04/init.c b/testsuites/psxtests/psx04/init.c
index b09b5d1634..59ded35b20 100644
--- a/testsuites/psxtests/psx04/init.c
+++ b/testsuites/psxtests/psx04/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psx04/task1.c b/testsuites/psxtests/psx04/task1.c
index 71d5eee5bd..b63e2d7b68 100644
--- a/testsuites/psxtests/psx04/task1.c
+++ b/testsuites/psxtests/psx04/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psx04/task2.c b/testsuites/psxtests/psx04/task2.c
index 189d71bd68..d31279bfc3 100644
--- a/testsuites/psxtests/psx04/task2.c
+++ b/testsuites/psxtests/psx04/task2.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psx04/task3.c b/testsuites/psxtests/psx04/task3.c
index 41b19153a6..af7b0091c4 100644
--- a/testsuites/psxtests/psx04/task3.c
+++ b/testsuites/psxtests/psx04/task3.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c
index 4afe734bb1..8826515a6d 100644
--- a/testsuites/psxtests/psx05/init.c
+++ b/testsuites/psxtests/psx05/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#define CONFIGURE_INIT
diff --git a/testsuites/psxtests/psx05/task.c b/testsuites/psxtests/psx05/task.c
index a546f3ecdd..3f028a1a2e 100644
--- a/testsuites/psxtests/psx05/task.c
+++ b/testsuites/psxtests/psx05/task.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psx05/task2.c b/testsuites/psxtests/psx05/task2.c
index 7e8597de68..5ee0c07b82 100644
--- a/testsuites/psxtests/psx05/task2.c
+++ b/testsuites/psxtests/psx05/task2.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psx05/task3.c b/testsuites/psxtests/psx05/task3.c
index 5b91f8f0e9..4a11ad079b 100644
--- a/testsuites/psxtests/psx05/task3.c
+++ b/testsuites/psxtests/psx05/task3.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psx06/init.c b/testsuites/psxtests/psx06/init.c
index ee1c636763..66e83a0ce1 100644
--- a/testsuites/psxtests/psx06/init.c
+++ b/testsuites/psxtests/psx06/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psx06/task.c b/testsuites/psxtests/psx06/task.c
index 40dca84c45..b037eabc00 100644
--- a/testsuites/psxtests/psx06/task.c
+++ b/testsuites/psxtests/psx06/task.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psx06/task2.c b/testsuites/psxtests/psx06/task2.c
index a5a46781a8..9593e9f39a 100644
--- a/testsuites/psxtests/psx06/task2.c
+++ b/testsuites/psxtests/psx06/task2.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psx07/init.c b/testsuites/psxtests/psx07/init.c
index 57d3325b62..bc5a95f139 100644
--- a/testsuites/psxtests/psx07/init.c
+++ b/testsuites/psxtests/psx07/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <sched.h>
diff --git a/testsuites/psxtests/psx07/task.c b/testsuites/psxtests/psx07/task.c
index 8256aa5639..b8834c86b9 100644
--- a/testsuites/psxtests/psx07/task.c
+++ b/testsuites/psxtests/psx07/task.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <time.h>
#include <sched.h>
diff --git a/testsuites/psxtests/psx08/init.c b/testsuites/psxtests/psx08/init.c
index 56ae5428e5..e20dd8ad2d 100644
--- a/testsuites/psxtests/psx08/init.c
+++ b/testsuites/psxtests/psx08/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psx08/task1.c b/testsuites/psxtests/psx08/task1.c
index 91708845eb..2e8664fb19 100644
--- a/testsuites/psxtests/psx08/task1.c
+++ b/testsuites/psxtests/psx08/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psx08/task2.c b/testsuites/psxtests/psx08/task2.c
index 4ea3010844..c0cd55676a 100644
--- a/testsuites/psxtests/psx08/task2.c
+++ b/testsuites/psxtests/psx08/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psx08/task3.c b/testsuites/psxtests/psx08/task3.c
index d7803656e4..94abb4f4f6 100644
--- a/testsuites/psxtests/psx08/task3.c
+++ b/testsuites/psxtests/psx08/task3.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psx09/init.c b/testsuites/psxtests/psx09/init.c
index 942caa63c4..787973f7ee 100644
--- a/testsuites/psxtests/psx09/init.c
+++ b/testsuites/psxtests/psx09/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#define CONFIGURE_INIT
diff --git a/testsuites/psxtests/psx10/init.c b/testsuites/psxtests/psx10/init.c
index 9b6d37148e..b911121c59 100644
--- a/testsuites/psxtests/psx10/init.c
+++ b/testsuites/psxtests/psx10/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <sched.h>
diff --git a/testsuites/psxtests/psx10/task.c b/testsuites/psxtests/psx10/task.c
index 8cbcdaf6d3..8dab66ebeb 100644
--- a/testsuites/psxtests/psx10/task.c
+++ b/testsuites/psxtests/psx10/task.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void *Task_1(
diff --git a/testsuites/psxtests/psx10/task2.c b/testsuites/psxtests/psx10/task2.c
index 2427c51d0f..7c6afb02bf 100644
--- a/testsuites/psxtests/psx10/task2.c
+++ b/testsuites/psxtests/psx10/task2.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void *Task_2(
diff --git a/testsuites/psxtests/psx10/task3.c b/testsuites/psxtests/psx10/task3.c
index 8c50c855d9..b254b0612e 100644
--- a/testsuites/psxtests/psx10/task3.c
+++ b/testsuites/psxtests/psx10/task3.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void *Task_3(
diff --git a/testsuites/psxtests/psx11/init.c b/testsuites/psxtests/psx11/init.c
index 3fea79a3ea..9c03c84d07 100644
--- a/testsuites/psxtests/psx11/init.c
+++ b/testsuites/psxtests/psx11/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#define CONFIGURE_INIT
diff --git a/testsuites/psxtests/psx11/task.c b/testsuites/psxtests/psx11/task.c
index b42d81f792..8803c99cff 100644
--- a/testsuites/psxtests/psx11/task.c
+++ b/testsuites/psxtests/psx11/task.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <time.h>
#include <sched.h>
diff --git a/testsuites/psxtests/psx12/init.c b/testsuites/psxtests/psx12/init.c
index e57dd2937e..6674ccd0aa 100644
--- a/testsuites/psxtests/psx12/init.c
+++ b/testsuites/psxtests/psx12/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#define CONFIGURE_INIT
diff --git a/testsuites/psxtests/psx12/task.c b/testsuites/psxtests/psx12/task.c
index 67e5a68e40..c06263f81d 100644
--- a/testsuites/psxtests/psx12/task.c
+++ b/testsuites/psxtests/psx12/task.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <time.h>
#include <sched.h>
diff --git a/testsuites/psxtests/psx13/main.c b/testsuites/psxtests/psx13/main.c
index 01ba974cec..f94a5e3cb1 100644
--- a/testsuites/psxtests/psx13/main.c
+++ b/testsuites/psxtests/psx13/main.c
@@ -13,6 +13,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psx13/test.c b/testsuites/psxtests/psx13/test.c
index cda50fe1ab..1031225c7c 100644
--- a/testsuites/psxtests/psx13/test.c
+++ b/testsuites/psxtests/psx13/test.c
@@ -25,6 +25,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems.h>
#include <rtems/libio.h>
#include <fcntl.h>
diff --git a/testsuites/psxtests/psx14/init.c b/testsuites/psxtests/psx14/init.c
index f880aebd99..e9ddad114d 100644
--- a/testsuites/psxtests/psx14/init.c
+++ b/testsuites/psxtests/psx14/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <rtems.h>
diff --git a/testsuites/psxtests/psx15/init.c b/testsuites/psxtests/psx15/init.c
index 5bb90e1d07..e00c2a5853 100644
--- a/testsuites/psxtests/psx15/init.c
+++ b/testsuites/psxtests/psx15/init.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <inttypes.h>
diff --git a/testsuites/psxtests/psxaio01/init.c b/testsuites/psxtests/psxaio01/init.c
index d4e8e05803..3e1d9e90e4 100644
--- a/testsuites/psxtests/psxaio01/init.c
+++ b/testsuites/psxtests/psxaio01/init.c
@@ -8,6 +8,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <rtems.h>
diff --git a/testsuites/psxtests/psxaio02/init.c b/testsuites/psxtests/psxaio02/init.c
index 819f5174a4..934253f24c 100644
--- a/testsuites/psxtests/psxaio02/init.c
+++ b/testsuites/psxtests/psxaio02/init.c
@@ -8,6 +8,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <rtems.h>
diff --git a/testsuites/psxtests/psxaio03/init.c b/testsuites/psxtests/psxaio03/init.c
index 8d3fe2eb32..a44af6ddd5 100644
--- a/testsuites/psxtests/psxaio03/init.c
+++ b/testsuites/psxtests/psxaio03/init.c
@@ -7,6 +7,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <rtems.h>
diff --git a/testsuites/psxtests/psxalarm01/init.c b/testsuites/psxtests/psxalarm01/init.c
index 23eb422a01..e6b4a8fb11 100644
--- a/testsuites/psxtests/psxalarm01/init.c
+++ b/testsuites/psxtests/psxalarm01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pmacros.h>
#include <signal.h>
diff --git a/testsuites/psxtests/psxautoinit01/init.c b/testsuites/psxtests/psxautoinit01/init.c
index 2296f9a86b..4453b42313 100644
--- a/testsuites/psxtests/psxautoinit01/init.c
+++ b/testsuites/psxtests/psxautoinit01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <pthread.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxautoinit02/init.c b/testsuites/psxtests/psxautoinit02/init.c
index 80af42ed58..9c3289ad33 100644
--- a/testsuites/psxtests/psxautoinit02/init.c
+++ b/testsuites/psxtests/psxautoinit02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <pthread.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxbarrier01/main.c b/testsuites/psxtests/psxbarrier01/main.c
index 889786ffb4..9a6c840dd8 100644
--- a/testsuites/psxtests/psxbarrier01/main.c
+++ b/testsuites/psxtests/psxbarrier01/main.c
@@ -13,6 +13,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxbarrier01/test.c b/testsuites/psxtests/psxbarrier01/test.c
index 77b80ab613..8701c853fc 100644
--- a/testsuites/psxtests/psxbarrier01/test.c
+++ b/testsuites/psxtests/psxbarrier01/test.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
diff --git a/testsuites/psxtests/psxcancel/init.c b/testsuites/psxtests/psxcancel/init.c
index 96341f100a..a580a21c9b 100644
--- a/testsuites/psxtests/psxcancel/init.c
+++ b/testsuites/psxtests/psxcancel/init.c
@@ -6,6 +6,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
diff --git a/testsuites/psxtests/psxcancel01/init.c b/testsuites/psxtests/psxcancel01/init.c
index 7e4d1abc8f..07b29da5ac 100644
--- a/testsuites/psxtests/psxcancel01/init.c
+++ b/testsuites/psxtests/psxcancel01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pmacros.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxchroot01/main.c b/testsuites/psxtests/psxchroot01/main.c
index 563b683fb6..c964bcdfe8 100644
--- a/testsuites/psxtests/psxchroot01/main.c
+++ b/testsuites/psxtests/psxchroot01/main.c
@@ -4,6 +4,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxchroot01/test.c b/testsuites/psxtests/psxchroot01/test.c
index 353e27ca2b..a5714253b4 100644
--- a/testsuites/psxtests/psxchroot01/test.c
+++ b/testsuites/psxtests/psxchroot01/test.c
@@ -25,6 +25,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>
diff --git a/testsuites/psxtests/psxcleanup/psxcleanup.c b/testsuites/psxtests/psxcleanup/psxcleanup.c
index 9005973a3c..998612be75 100644
--- a/testsuites/psxtests/psxcleanup/psxcleanup.c
+++ b/testsuites/psxtests/psxcleanup/psxcleanup.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <pthread.h> /* thread facilities */
diff --git a/testsuites/psxtests/psxcleanup01/init.c b/testsuites/psxtests/psxcleanup01/init.c
index 309bce7445..a53d356c6b 100644
--- a/testsuites/psxtests/psxcleanup01/init.c
+++ b/testsuites/psxtests/psxcleanup01/init.c
@@ -10,6 +10,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems.h>
#include "pmacros.h"
#include <pthread.h> /* thread facilities */
diff --git a/testsuites/psxtests/psxclock/init.c b/testsuites/psxtests/psxclock/init.c
index f0440185dd..59bcda2357 100644
--- a/testsuites/psxtests/psxclock/init.c
+++ b/testsuites/psxtests/psxclock/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pmacros.h>
#include <time.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxcond01/init.c b/testsuites/psxtests/psxcond01/init.c
index 7cdac51c88..68600f4f55 100644
--- a/testsuites/psxtests/psxcond01/init.c
+++ b/testsuites/psxtests/psxcond01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <pthread.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxenosys/init.c b/testsuites/psxtests/psxenosys/init.c
index d7e4a8d7b2..acbcc7e8fa 100644
--- a/testsuites/psxtests/psxenosys/init.c
+++ b/testsuites/psxtests/psxenosys/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/wait.h>
#if HAVE_SYS_MMAN_H
diff --git a/testsuites/psxtests/psxfatal_support/init.c b/testsuites/psxtests/psxfatal_support/init.c
index 48b00f5bf6..a81a280990 100644
--- a/testsuites/psxtests/psxfatal_support/init.c
+++ b/testsuites/psxtests/psxfatal_support/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/psxtests/psxfchx01/init.c b/testsuites/psxtests/psxfchx01/init.c
index 83ec35debb..486837caac 100644
--- a/testsuites/psxtests/psxfchx01/init.c
+++ b/testsuites/psxtests/psxfchx01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
#include <unistd.h>
diff --git a/testsuites/psxtests/psxfile01/main.c b/testsuites/psxtests/psxfile01/main.c
index 4a75d89fbe..8abf3a66d6 100644
--- a/testsuites/psxtests/psxfile01/main.c
+++ b/testsuites/psxtests/psxfile01/main.c
@@ -13,6 +13,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c
index 352ac084fb..d24ba6eb5c 100644
--- a/testsuites/psxtests/psxfile01/test.c
+++ b/testsuites/psxtests/psxfile01/test.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxfile01/test_cat.c b/testsuites/psxtests/psxfile01/test_cat.c
index 422cf89400..dc60a158a8 100644
--- a/testsuites/psxtests/psxfile01/test_cat.c
+++ b/testsuites/psxtests/psxfile01/test_cat.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxfile01/test_extend.c b/testsuites/psxtests/psxfile01/test_extend.c
index 2de748d238..d4058ad918 100644
--- a/testsuites/psxtests/psxfile01/test_extend.c
+++ b/testsuites/psxtests/psxfile01/test_extend.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxfile01/test_write.c b/testsuites/psxtests/psxfile01/test_write.c
index ed33962d01..6597a95a27 100644
--- a/testsuites/psxtests/psxfile01/test_write.c
+++ b/testsuites/psxtests/psxfile01/test_write.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxfile02/init.c b/testsuites/psxtests/psxfile02/init.c
index 6aa8a5ce35..d2e02c202e 100644
--- a/testsuites/psxtests/psxfile02/init.c
+++ b/testsuites/psxtests/psxfile02/init.c
@@ -8,6 +8,11 @@
*
* $Id$
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <sys/uio.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxfilelock01/init.c b/testsuites/psxtests/psxfilelock01/init.c
index 8c8677e8ae..ee0a97c5ea 100644
--- a/testsuites/psxtests/psxfilelock01/init.c
+++ b/testsuites/psxtests/psxfilelock01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psxgetrusage01/init.c b/testsuites/psxtests/psxgetrusage01/init.c
index 80c62bb52b..b488e65183 100644
--- a/testsuites/psxtests/psxgetrusage01/init.c
+++ b/testsuites/psxtests/psxgetrusage01/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/psxtests/psxhdrs/clock01.c b/testsuites/psxtests/psxhdrs/clock01.c
index 925bf0e7db..8992f971dd 100644
--- a/testsuites/psxtests/psxhdrs/clock01.c
+++ b/testsuites/psxtests/psxhdrs/clock01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_TIMERS
diff --git a/testsuites/psxtests/psxhdrs/clock02.c b/testsuites/psxtests/psxhdrs/clock02.c
index b9481ec5b3..f07c206528 100644
--- a/testsuites/psxtests/psxhdrs/clock02.c
+++ b/testsuites/psxtests/psxhdrs/clock02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_TIMERS
diff --git a/testsuites/psxtests/psxhdrs/clock03.c b/testsuites/psxtests/psxhdrs/clock03.c
index 71ab20b1e5..98ec08bb8c 100644
--- a/testsuites/psxtests/psxhdrs/clock03.c
+++ b/testsuites/psxtests/psxhdrs/clock03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_TIMERS
diff --git a/testsuites/psxtests/psxhdrs/clock04.c b/testsuites/psxtests/psxhdrs/clock04.c
index 3822a27ad4..9847a030d8 100644
--- a/testsuites/psxtests/psxhdrs/clock04.c
+++ b/testsuites/psxtests/psxhdrs/clock04.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_CPUTIME
diff --git a/testsuites/psxtests/psxhdrs/clock05.c b/testsuites/psxtests/psxhdrs/clock05.c
index 089f788e1b..8984f3d03f 100644
--- a/testsuites/psxtests/psxhdrs/clock05.c
+++ b/testsuites/psxtests/psxhdrs/clock05.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_CPUTIME
diff --git a/testsuites/psxtests/psxhdrs/clock06.c b/testsuites/psxtests/psxhdrs/clock06.c
index f27be5d8f0..53429e4e34 100644
--- a/testsuites/psxtests/psxhdrs/clock06.c
+++ b/testsuites/psxtests/psxhdrs/clock06.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_CPUTIME
diff --git a/testsuites/psxtests/psxhdrs/cond01.c b/testsuites/psxtests/psxhdrs/cond01.c
index 2dac96cb70..4adc7d53d6 100644
--- a/testsuites/psxtests/psxhdrs/cond01.c
+++ b/testsuites/psxtests/psxhdrs/cond01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/cond02.c b/testsuites/psxtests/psxhdrs/cond02.c
index 8e51650143..e36384e0d4 100644
--- a/testsuites/psxtests/psxhdrs/cond02.c
+++ b/testsuites/psxtests/psxhdrs/cond02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/cond03.c b/testsuites/psxtests/psxhdrs/cond03.c
index 6b8f440654..dd36af21a2 100644
--- a/testsuites/psxtests/psxhdrs/cond03.c
+++ b/testsuites/psxtests/psxhdrs/cond03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/cond04.c b/testsuites/psxtests/psxhdrs/cond04.c
index 74147d772d..80919a47a2 100644
--- a/testsuites/psxtests/psxhdrs/cond04.c
+++ b/testsuites/psxtests/psxhdrs/cond04.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/cond05.c b/testsuites/psxtests/psxhdrs/cond05.c
index 589cd76340..d5d5fe7e3a 100644
--- a/testsuites/psxtests/psxhdrs/cond05.c
+++ b/testsuites/psxtests/psxhdrs/cond05.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/cond06.c b/testsuites/psxtests/psxhdrs/cond06.c
index c642e33b50..b13697b252 100644
--- a/testsuites/psxtests/psxhdrs/cond06.c
+++ b/testsuites/psxtests/psxhdrs/cond06.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/cond07.c b/testsuites/psxtests/psxhdrs/cond07.c
index 1d0580c45f..f91c82a02c 100644
--- a/testsuites/psxtests/psxhdrs/cond07.c
+++ b/testsuites/psxtests/psxhdrs/cond07.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/cond08.c b/testsuites/psxtests/psxhdrs/cond08.c
index 5d611a065c..14cdba340b 100644
--- a/testsuites/psxtests/psxhdrs/cond08.c
+++ b/testsuites/psxtests/psxhdrs/cond08.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/cond09.c b/testsuites/psxtests/psxhdrs/cond09.c
index 02b8ffa089..688cb93daa 100644
--- a/testsuites/psxtests/psxhdrs/cond09.c
+++ b/testsuites/psxtests/psxhdrs/cond09.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/cond10.c b/testsuites/psxtests/psxhdrs/cond10.c
index 1ad562f642..39da4b7d1d 100644
--- a/testsuites/psxtests/psxhdrs/cond10.c
+++ b/testsuites/psxtests/psxhdrs/cond10.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/key01.c b/testsuites/psxtests/psxhdrs/key01.c
index c6cf5b9ebc..db553125fe 100644
--- a/testsuites/psxtests/psxhdrs/key01.c
+++ b/testsuites/psxtests/psxhdrs/key01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/key02.c b/testsuites/psxtests/psxhdrs/key02.c
index fef7ae9c12..4914960edf 100644
--- a/testsuites/psxtests/psxhdrs/key02.c
+++ b/testsuites/psxtests/psxhdrs/key02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/key03.c b/testsuites/psxtests/psxhdrs/key03.c
index ed92deb2db..94b72dd204 100644
--- a/testsuites/psxtests/psxhdrs/key03.c
+++ b/testsuites/psxtests/psxhdrs/key03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/key04.c b/testsuites/psxtests/psxhdrs/key04.c
index 6d4fb3bfba..7370c7607b 100644
--- a/testsuites/psxtests/psxhdrs/key04.c
+++ b/testsuites/psxtests/psxhdrs/key04.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex01.c b/testsuites/psxtests/psxhdrs/mutex01.c
index de17e31603..bc0e085e13 100644
--- a/testsuites/psxtests/psxhdrs/mutex01.c
+++ b/testsuites/psxtests/psxhdrs/mutex01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex02.c b/testsuites/psxtests/psxhdrs/mutex02.c
index 78aa347cd9..5d45c1cf11 100644
--- a/testsuites/psxtests/psxhdrs/mutex02.c
+++ b/testsuites/psxtests/psxhdrs/mutex02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex03.c b/testsuites/psxtests/psxhdrs/mutex03.c
index 36b9af9b0a..8bfd982e93 100644
--- a/testsuites/psxtests/psxhdrs/mutex03.c
+++ b/testsuites/psxtests/psxhdrs/mutex03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex04.c b/testsuites/psxtests/psxhdrs/mutex04.c
index 794b807181..b1e1e87575 100644
--- a/testsuites/psxtests/psxhdrs/mutex04.c
+++ b/testsuites/psxtests/psxhdrs/mutex04.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex05.c b/testsuites/psxtests/psxhdrs/mutex05.c
index 8d020e4a69..d6f5ac0963 100644
--- a/testsuites/psxtests/psxhdrs/mutex05.c
+++ b/testsuites/psxtests/psxhdrs/mutex05.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex06.c b/testsuites/psxtests/psxhdrs/mutex06.c
index 20e3043efc..d99c0f071f 100644
--- a/testsuites/psxtests/psxhdrs/mutex06.c
+++ b/testsuites/psxtests/psxhdrs/mutex06.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex07.c b/testsuites/psxtests/psxhdrs/mutex07.c
index cc7fb5b72e..413fe303b4 100644
--- a/testsuites/psxtests/psxhdrs/mutex07.c
+++ b/testsuites/psxtests/psxhdrs/mutex07.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIO_INHERIT
diff --git a/testsuites/psxtests/psxhdrs/mutex08.c b/testsuites/psxtests/psxhdrs/mutex08.c
index bb32bcc1bf..cdfd1cae43 100644
--- a/testsuites/psxtests/psxhdrs/mutex08.c
+++ b/testsuites/psxtests/psxhdrs/mutex08.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIO_INHERIT
diff --git a/testsuites/psxtests/psxhdrs/mutex09.c b/testsuites/psxtests/psxhdrs/mutex09.c
index 28e66d2342..dd94b857b7 100644
--- a/testsuites/psxtests/psxhdrs/mutex09.c
+++ b/testsuites/psxtests/psxhdrs/mutex09.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIO_INHERIT
diff --git a/testsuites/psxtests/psxhdrs/mutex10.c b/testsuites/psxtests/psxhdrs/mutex10.c
index 1fce9c1b31..c6771a5576 100644
--- a/testsuites/psxtests/psxhdrs/mutex10.c
+++ b/testsuites/psxtests/psxhdrs/mutex10.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex11.c b/testsuites/psxtests/psxhdrs/mutex11.c
index 3a2b099027..6fcfdff849 100644
--- a/testsuites/psxtests/psxhdrs/mutex11.c
+++ b/testsuites/psxtests/psxhdrs/mutex11.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex12.c b/testsuites/psxtests/psxhdrs/mutex12.c
index a5415910dd..3764d2c92f 100644
--- a/testsuites/psxtests/psxhdrs/mutex12.c
+++ b/testsuites/psxtests/psxhdrs/mutex12.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex13.c b/testsuites/psxtests/psxhdrs/mutex13.c
index 73e4f96a82..1c4dac07e0 100644
--- a/testsuites/psxtests/psxhdrs/mutex13.c
+++ b/testsuites/psxtests/psxhdrs/mutex13.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/mutex14.c b/testsuites/psxtests/psxhdrs/mutex14.c
index 38e3b0274b..879cbcb927 100644
--- a/testsuites/psxtests/psxhdrs/mutex14.c
+++ b/testsuites/psxtests/psxhdrs/mutex14.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIO_INHERIT
diff --git a/testsuites/psxtests/psxhdrs/mutex15.c b/testsuites/psxtests/psxhdrs/mutex15.c
index 7306f7ad23..d87e6b18b6 100644
--- a/testsuites/psxtests/psxhdrs/mutex15.c
+++ b/testsuites/psxtests/psxhdrs/mutex15.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIO_INHERIT
diff --git a/testsuites/psxtests/psxhdrs/mutex16.c b/testsuites/psxtests/psxhdrs/mutex16.c
index 1304ccbcb7..ca986c0924 100644
--- a/testsuites/psxtests/psxhdrs/mutex16.c
+++ b/testsuites/psxtests/psxhdrs/mutex16.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIO_INHERIT
diff --git a/testsuites/psxtests/psxhdrs/proc01.c b/testsuites/psxtests/psxhdrs/proc01.c
index a1d9123883..c1fffb51c1 100644
--- a/testsuites/psxtests/psxhdrs/proc01.c
+++ b/testsuites/psxtests/psxhdrs/proc01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/psxtests/psxhdrs/proc02.c b/testsuites/psxtests/psxhdrs/proc02.c
index 83383660f8..9f686c9ef5 100644
--- a/testsuites/psxtests/psxhdrs/proc02.c
+++ b/testsuites/psxtests/psxhdrs/proc02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/psxtests/psxhdrs/proc03.c b/testsuites/psxtests/psxhdrs/proc03.c
index 5403077481..90e743b152 100644
--- a/testsuites/psxtests/psxhdrs/proc03.c
+++ b/testsuites/psxtests/psxhdrs/proc03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxhdrs/proc04.c b/testsuites/psxtests/psxhdrs/proc04.c
index a4582cc3df..495a337751 100644
--- a/testsuites/psxtests/psxhdrs/proc04.c
+++ b/testsuites/psxtests/psxhdrs/proc04.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxhdrs/proc05.c b/testsuites/psxtests/psxhdrs/proc05.c
index 7a22426091..97da10f71f 100644
--- a/testsuites/psxtests/psxhdrs/proc05.c
+++ b/testsuites/psxtests/psxhdrs/proc05.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxhdrs/proc06.c b/testsuites/psxtests/psxhdrs/proc06.c
index bf537511f5..8b037e47a2 100644
--- a/testsuites/psxtests/psxhdrs/proc06.c
+++ b/testsuites/psxtests/psxhdrs/proc06.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxhdrs/proc07.c b/testsuites/psxtests/psxhdrs/proc07.c
index 165147006c..6a11a790cf 100644
--- a/testsuites/psxtests/psxhdrs/proc07.c
+++ b/testsuites/psxtests/psxhdrs/proc07.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/psxtests/psxhdrs/proc08.c b/testsuites/psxtests/psxhdrs/proc08.c
index 1a8859e05c..7c8d21a684 100644
--- a/testsuites/psxtests/psxhdrs/proc08.c
+++ b/testsuites/psxtests/psxhdrs/proc08.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/psxtests/psxhdrs/proc09.c b/testsuites/psxtests/psxhdrs/proc09.c
index a1b0f2bdde..8b375fa5d9 100644
--- a/testsuites/psxtests/psxhdrs/proc09.c
+++ b/testsuites/psxtests/psxhdrs/proc09.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/psxtests/psxhdrs/proc10.c b/testsuites/psxtests/psxhdrs/proc10.c
index 182dbc87c6..8139ba8cf1 100644
--- a/testsuites/psxtests/psxhdrs/proc10.c
+++ b/testsuites/psxtests/psxhdrs/proc10.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/psxtests/psxhdrs/proc11.c b/testsuites/psxtests/psxhdrs/proc11.c
index 94f7440f2f..736f790aed 100644
--- a/testsuites/psxtests/psxhdrs/proc11.c
+++ b/testsuites/psxtests/psxhdrs/proc11.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
#include <limits.h> /* for LOGIN_NAME_MAX */
diff --git a/testsuites/psxtests/psxhdrs/proc12.c b/testsuites/psxtests/psxhdrs/proc12.c
index fa3450dbbc..93a237bb30 100644
--- a/testsuites/psxtests/psxhdrs/proc12.c
+++ b/testsuites/psxtests/psxhdrs/proc12.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/psxtests/psxhdrs/proc13.c b/testsuites/psxtests/psxhdrs/proc13.c
index 5c82a63a9c..fc7d06b5fe 100644
--- a/testsuites/psxtests/psxhdrs/proc13.c
+++ b/testsuites/psxtests/psxhdrs/proc13.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/psxtests/psxhdrs/proc14.c b/testsuites/psxtests/psxhdrs/proc14.c
index f30ff6714e..a61a06fbd3 100644
--- a/testsuites/psxtests/psxhdrs/proc14.c
+++ b/testsuites/psxtests/psxhdrs/proc14.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/testsuites/psxtests/psxhdrs/pthread01.c b/testsuites/psxtests/psxhdrs/pthread01.c
index d1a23352ba..b1af68a9e9 100644
--- a/testsuites/psxtests/psxhdrs/pthread01.c
+++ b/testsuites/psxtests/psxhdrs/pthread01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread02.c b/testsuites/psxtests/psxhdrs/pthread02.c
index 7ea6c82a8f..7d29690df2 100644
--- a/testsuites/psxtests/psxhdrs/pthread02.c
+++ b/testsuites/psxtests/psxhdrs/pthread02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread03.c b/testsuites/psxtests/psxhdrs/pthread03.c
index 7159aa23f8..be110bcb64 100644
--- a/testsuites/psxtests/psxhdrs/pthread03.c
+++ b/testsuites/psxtests/psxhdrs/pthread03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread04.c b/testsuites/psxtests/psxhdrs/pthread04.c
index 8b63f4b4a4..74b812e061 100644
--- a/testsuites/psxtests/psxhdrs/pthread04.c
+++ b/testsuites/psxtests/psxhdrs/pthread04.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread05.c b/testsuites/psxtests/psxhdrs/pthread05.c
index 67339d684d..d3c8695961 100644
--- a/testsuites/psxtests/psxhdrs/pthread05.c
+++ b/testsuites/psxtests/psxhdrs/pthread05.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <limits.h> /* only for PTHREAD_STACK_MIN */
diff --git a/testsuites/psxtests/psxhdrs/pthread06.c b/testsuites/psxtests/psxhdrs/pthread06.c
index 257137f239..b354da6085 100644
--- a/testsuites/psxtests/psxhdrs/pthread06.c
+++ b/testsuites/psxtests/psxhdrs/pthread06.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread07.c b/testsuites/psxtests/psxhdrs/pthread07.c
index fb0d7d5d7d..d1e1f06ef5 100644
--- a/testsuites/psxtests/psxhdrs/pthread07.c
+++ b/testsuites/psxtests/psxhdrs/pthread07.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread08.c b/testsuites/psxtests/psxhdrs/pthread08.c
index 376228a056..1dabe7e196 100644
--- a/testsuites/psxtests/psxhdrs/pthread08.c
+++ b/testsuites/psxtests/psxhdrs/pthread08.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread09.c b/testsuites/psxtests/psxhdrs/pthread09.c
index 82c633c57c..8e0b910f36 100644
--- a/testsuites/psxtests/psxhdrs/pthread09.c
+++ b/testsuites/psxtests/psxhdrs/pthread09.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread10.c b/testsuites/psxtests/psxhdrs/pthread10.c
index 6dd4edabbd..618d237b89 100644
--- a/testsuites/psxtests/psxhdrs/pthread10.c
+++ b/testsuites/psxtests/psxhdrs/pthread10.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread11.c b/testsuites/psxtests/psxhdrs/pthread11.c
index bc0eb7dd6e..2c68b5c785 100644
--- a/testsuites/psxtests/psxhdrs/pthread11.c
+++ b/testsuites/psxtests/psxhdrs/pthread11.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread12.c b/testsuites/psxtests/psxhdrs/pthread12.c
index 7bcbb516d9..bc40901d86 100644
--- a/testsuites/psxtests/psxhdrs/pthread12.c
+++ b/testsuites/psxtests/psxhdrs/pthread12.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread13.c b/testsuites/psxtests/psxhdrs/pthread13.c
index 30326784ff..96f80fdceb 100644
--- a/testsuites/psxtests/psxhdrs/pthread13.c
+++ b/testsuites/psxtests/psxhdrs/pthread13.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread14.c b/testsuites/psxtests/psxhdrs/pthread14.c
index 22e370397e..5fb698c5b7 100644
--- a/testsuites/psxtests/psxhdrs/pthread14.c
+++ b/testsuites/psxtests/psxhdrs/pthread14.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread15.c b/testsuites/psxtests/psxhdrs/pthread15.c
index 3e5c2636fd..7603b25368 100644
--- a/testsuites/psxtests/psxhdrs/pthread15.c
+++ b/testsuites/psxtests/psxhdrs/pthread15.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread16.c b/testsuites/psxtests/psxhdrs/pthread16.c
index c6e27770ee..333f342074 100644
--- a/testsuites/psxtests/psxhdrs/pthread16.c
+++ b/testsuites/psxtests/psxhdrs/pthread16.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread17.c b/testsuites/psxtests/psxhdrs/pthread17.c
index 74f11043b3..df93267e31 100644
--- a/testsuites/psxtests/psxhdrs/pthread17.c
+++ b/testsuites/psxtests/psxhdrs/pthread17.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread18.c b/testsuites/psxtests/psxhdrs/pthread18.c
index f01e7926d4..13020ebe05 100644
--- a/testsuites/psxtests/psxhdrs/pthread18.c
+++ b/testsuites/psxtests/psxhdrs/pthread18.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread19.c b/testsuites/psxtests/psxhdrs/pthread19.c
index b5a7923fa8..3b3603b5ee 100644
--- a/testsuites/psxtests/psxhdrs/pthread19.c
+++ b/testsuites/psxtests/psxhdrs/pthread19.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread20.c b/testsuites/psxtests/psxhdrs/pthread20.c
index 7f76f912ba..a916e4bafc 100644
--- a/testsuites/psxtests/psxhdrs/pthread20.c
+++ b/testsuites/psxtests/psxhdrs/pthread20.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread21.c b/testsuites/psxtests/psxhdrs/pthread21.c
index 8423f35037..e33150cb68 100644
--- a/testsuites/psxtests/psxhdrs/pthread21.c
+++ b/testsuites/psxtests/psxhdrs/pthread21.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread22.c b/testsuites/psxtests/psxhdrs/pthread22.c
index ba15472256..1a4ae75c68 100644
--- a/testsuites/psxtests/psxhdrs/pthread22.c
+++ b/testsuites/psxtests/psxhdrs/pthread22.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread23.c b/testsuites/psxtests/psxhdrs/pthread23.c
index c3f6230a2c..9a3fde4ca4 100644
--- a/testsuites/psxtests/psxhdrs/pthread23.c
+++ b/testsuites/psxtests/psxhdrs/pthread23.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/pthread24.c b/testsuites/psxtests/psxhdrs/pthread24.c
index 05cd429cb9..8004be6c64 100644
--- a/testsuites/psxtests/psxhdrs/pthread24.c
+++ b/testsuites/psxtests/psxhdrs/pthread24.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <limits.h> /* only for PTHREAD_STACK_MIN */
diff --git a/testsuites/psxtests/psxhdrs/pthread25.c b/testsuites/psxtests/psxhdrs/pthread25.c
index ab7e27434e..3b0908b106 100644
--- a/testsuites/psxtests/psxhdrs/pthread25.c
+++ b/testsuites/psxtests/psxhdrs/pthread25.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <limits.h> /* only for PTHREAD_STACK_MIN */
diff --git a/testsuites/psxtests/psxhdrs/pthread26.c b/testsuites/psxtests/psxhdrs/pthread26.c
index db5b01db4e..350eaf64e5 100644
--- a/testsuites/psxtests/psxhdrs/pthread26.c
+++ b/testsuites/psxtests/psxhdrs/pthread26.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread27.c b/testsuites/psxtests/psxhdrs/pthread27.c
index 7eeacd4ad9..a670557a70 100644
--- a/testsuites/psxtests/psxhdrs/pthread27.c
+++ b/testsuites/psxtests/psxhdrs/pthread27.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread28.c b/testsuites/psxtests/psxhdrs/pthread28.c
index 3d84de2151..c269136d9f 100644
--- a/testsuites/psxtests/psxhdrs/pthread28.c
+++ b/testsuites/psxtests/psxhdrs/pthread28.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread29.c b/testsuites/psxtests/psxhdrs/pthread29.c
index f85dbc7565..e642f8bf75 100644
--- a/testsuites/psxtests/psxhdrs/pthread29.c
+++ b/testsuites/psxtests/psxhdrs/pthread29.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread30.c b/testsuites/psxtests/psxhdrs/pthread30.c
index 771c3a44d0..4c082c4e51 100644
--- a/testsuites/psxtests/psxhdrs/pthread30.c
+++ b/testsuites/psxtests/psxhdrs/pthread30.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread31.c b/testsuites/psxtests/psxhdrs/pthread31.c
index 40671e6d24..486d8279f9 100644
--- a/testsuites/psxtests/psxhdrs/pthread31.c
+++ b/testsuites/psxtests/psxhdrs/pthread31.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread32.c b/testsuites/psxtests/psxhdrs/pthread32.c
index ac82fb3e26..7904db9295 100644
--- a/testsuites/psxtests/psxhdrs/pthread32.c
+++ b/testsuites/psxtests/psxhdrs/pthread32.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread33.c b/testsuites/psxtests/psxhdrs/pthread33.c
index a5751fbfae..739ca120d0 100644
--- a/testsuites/psxtests/psxhdrs/pthread33.c
+++ b/testsuites/psxtests/psxhdrs/pthread33.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/pthread34.c b/testsuites/psxtests/psxhdrs/pthread34.c
index b6e3750dd6..df306cd8fa 100644
--- a/testsuites/psxtests/psxhdrs/pthread34.c
+++ b/testsuites/psxtests/psxhdrs/pthread34.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#ifndef _POSIX_THREAD_CPUTIME
diff --git a/testsuites/psxtests/psxhdrs/pthread35.c b/testsuites/psxtests/psxhdrs/pthread35.c
index fcb1e5cec9..5b2f74f56d 100644
--- a/testsuites/psxtests/psxhdrs/pthread35.c
+++ b/testsuites/psxtests/psxhdrs/pthread35.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#if !HAVE_DECL_PTHREAD_ATTR_SETCPUTIME
diff --git a/testsuites/psxtests/psxhdrs/pthread36.c b/testsuites/psxtests/psxhdrs/pthread36.c
index 6b74f4f83e..ba4433a418 100644
--- a/testsuites/psxtests/psxhdrs/pthread36.c
+++ b/testsuites/psxtests/psxhdrs/pthread36.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#if !HAVE_DECL_PTHREAD_ATTR_GETCPUTIME
diff --git a/testsuites/psxtests/psxhdrs/pthread37.c b/testsuites/psxtests/psxhdrs/pthread37.c
index bdfd729c3d..12e5dadb55 100644
--- a/testsuites/psxtests/psxhdrs/pthread37.c
+++ b/testsuites/psxtests/psxhdrs/pthread37.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if HAVE_DECL_PTHREAD_ATTR_SETSTACK
#include <pthread.h>
#include <limits.h> /* only for PTHREAD_STACK_MIN */
diff --git a/testsuites/psxtests/psxhdrs/pthread38.c b/testsuites/psxtests/psxhdrs/pthread38.c
index c8a86be7f1..3be1516763 100644
--- a/testsuites/psxtests/psxhdrs/pthread38.c
+++ b/testsuites/psxtests/psxhdrs/pthread38.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if HAVE_DECL_PTHREAD_ATTR_SETSTACK
#include <pthread.h>
#include <limits.h> /* only for PTHREAD_STACK_MIN */
diff --git a/testsuites/psxtests/psxhdrs/pthread39.c b/testsuites/psxtests/psxhdrs/pthread39.c
index 34fcdad2f0..9abb9687c5 100644
--- a/testsuites/psxtests/psxhdrs/pthread39.c
+++ b/testsuites/psxtests/psxhdrs/pthread39.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE
#include <pthread.h>
#include <limits.h> /* only for PTHREAD_STACK_MIN */
diff --git a/testsuites/psxtests/psxhdrs/pthread40.c b/testsuites/psxtests/psxhdrs/pthread40.c
index bd2e780193..6a0dc85a91 100644
--- a/testsuites/psxtests/psxhdrs/pthread40.c
+++ b/testsuites/psxtests/psxhdrs/pthread40.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if HAVE_DECL_PTHREAD_ATTR_GETGUARDSIZE
#include <pthread.h>
diff --git a/testsuites/psxtests/psxhdrs/sched01.c b/testsuites/psxtests/psxhdrs/sched01.c
index 44b1c8e01b..3765697c77 100644
--- a/testsuites/psxtests/psxhdrs/sched01.c
+++ b/testsuites/psxtests/psxhdrs/sched01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/sched02.c b/testsuites/psxtests/psxhdrs/sched02.c
index 7bb33a5707..5c6af17b18 100644
--- a/testsuites/psxtests/psxhdrs/sched02.c
+++ b/testsuites/psxtests/psxhdrs/sched02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/sched03.c b/testsuites/psxtests/psxhdrs/sched03.c
index ba4dccf1b8..6f23501b65 100644
--- a/testsuites/psxtests/psxhdrs/sched03.c
+++ b/testsuites/psxtests/psxhdrs/sched03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/sched04.c b/testsuites/psxtests/psxhdrs/sched04.c
index 16c09830ca..4f81ef44fd 100644
--- a/testsuites/psxtests/psxhdrs/sched04.c
+++ b/testsuites/psxtests/psxhdrs/sched04.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/sched05.c b/testsuites/psxtests/psxhdrs/sched05.c
index 6ae67dfac7..8b54d42c68 100644
--- a/testsuites/psxtests/psxhdrs/sched05.c
+++ b/testsuites/psxtests/psxhdrs/sched05.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/sched06.c b/testsuites/psxtests/psxhdrs/sched06.c
index 7fb4b9a277..dc18a6391d 100644
--- a/testsuites/psxtests/psxhdrs/sched06.c
+++ b/testsuites/psxtests/psxhdrs/sched06.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/sched07.c b/testsuites/psxtests/psxhdrs/sched07.c
index 5551e51766..462fecf7f1 100644
--- a/testsuites/psxtests/psxhdrs/sched07.c
+++ b/testsuites/psxtests/psxhdrs/sched07.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/sched08.c b/testsuites/psxtests/psxhdrs/sched08.c
index edb2bac47c..905728010a 100644
--- a/testsuites/psxtests/psxhdrs/sched08.c
+++ b/testsuites/psxtests/psxhdrs/sched08.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
diff --git a/testsuites/psxtests/psxhdrs/signal01.c b/testsuites/psxtests/psxhdrs/signal01.c
index 56283828b1..59e1964400 100644
--- a/testsuites/psxtests/psxhdrs/signal01.c
+++ b/testsuites/psxtests/psxhdrs/signal01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal02.c b/testsuites/psxtests/psxhdrs/signal02.c
index 3c542f4fd9..c421fbfde7 100644
--- a/testsuites/psxtests/psxhdrs/signal02.c
+++ b/testsuites/psxtests/psxhdrs/signal02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal03.c b/testsuites/psxtests/psxhdrs/signal03.c
index 145b1bc3b4..58f9c21b17 100644
--- a/testsuites/psxtests/psxhdrs/signal03.c
+++ b/testsuites/psxtests/psxhdrs/signal03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal04.c b/testsuites/psxtests/psxhdrs/signal04.c
index 11afa20af3..9ab64ac38f 100644
--- a/testsuites/psxtests/psxhdrs/signal04.c
+++ b/testsuites/psxtests/psxhdrs/signal04.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal05.c b/testsuites/psxtests/psxhdrs/signal05.c
index c45856fc53..5c44e81c58 100644
--- a/testsuites/psxtests/psxhdrs/signal05.c
+++ b/testsuites/psxtests/psxhdrs/signal05.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal06.c b/testsuites/psxtests/psxhdrs/signal06.c
index e26c11fd21..bc2d632752 100644
--- a/testsuites/psxtests/psxhdrs/signal06.c
+++ b/testsuites/psxtests/psxhdrs/signal06.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal07.c b/testsuites/psxtests/psxhdrs/signal07.c
index cbce6abec5..6924c6254f 100644
--- a/testsuites/psxtests/psxhdrs/signal07.c
+++ b/testsuites/psxtests/psxhdrs/signal07.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/signal08.c b/testsuites/psxtests/psxhdrs/signal08.c
index acd34671d4..3e84fbda12 100644
--- a/testsuites/psxtests/psxhdrs/signal08.c
+++ b/testsuites/psxtests/psxhdrs/signal08.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/signal09.c b/testsuites/psxtests/psxhdrs/signal09.c
index afe3a80e17..cfc56e2983 100644
--- a/testsuites/psxtests/psxhdrs/signal09.c
+++ b/testsuites/psxtests/psxhdrs/signal09.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <signal.h>
diff --git a/testsuites/psxtests/psxhdrs/signal10.c b/testsuites/psxtests/psxhdrs/signal10.c
index c293056cd7..fd9675ee48 100644
--- a/testsuites/psxtests/psxhdrs/signal10.c
+++ b/testsuites/psxtests/psxhdrs/signal10.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal11.c b/testsuites/psxtests/psxhdrs/signal11.c
index 1bbafbf10f..35bbcd65d2 100644
--- a/testsuites/psxtests/psxhdrs/signal11.c
+++ b/testsuites/psxtests/psxhdrs/signal11.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal12.c b/testsuites/psxtests/psxhdrs/signal12.c
index 36664a8b6e..555354b6da 100644
--- a/testsuites/psxtests/psxhdrs/signal12.c
+++ b/testsuites/psxtests/psxhdrs/signal12.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal13.c b/testsuites/psxtests/psxhdrs/signal13.c
index e4268d042e..2593ce2274 100644
--- a/testsuites/psxtests/psxhdrs/signal13.c
+++ b/testsuites/psxtests/psxhdrs/signal13.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal14.c b/testsuites/psxtests/psxhdrs/signal14.c
index 2633046293..b2e47e4edc 100644
--- a/testsuites/psxtests/psxhdrs/signal14.c
+++ b/testsuites/psxtests/psxhdrs/signal14.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal15.c b/testsuites/psxtests/psxhdrs/signal15.c
index c036914198..2dae820644 100644
--- a/testsuites/psxtests/psxhdrs/signal15.c
+++ b/testsuites/psxtests/psxhdrs/signal15.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal16.c b/testsuites/psxtests/psxhdrs/signal16.c
index 8d0a35b7bf..41e8d0bbaf 100644
--- a/testsuites/psxtests/psxhdrs/signal16.c
+++ b/testsuites/psxtests/psxhdrs/signal16.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
#ifndef _POSIX_THREADS
diff --git a/testsuites/psxtests/psxhdrs/signal17.c b/testsuites/psxtests/psxhdrs/signal17.c
index 6de997887d..c4f8b8b2b7 100644
--- a/testsuites/psxtests/psxhdrs/signal17.c
+++ b/testsuites/psxtests/psxhdrs/signal17.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal18.c b/testsuites/psxtests/psxhdrs/signal18.c
index cc594f85ee..8ea3c9539c 100644
--- a/testsuites/psxtests/psxhdrs/signal18.c
+++ b/testsuites/psxtests/psxhdrs/signal18.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal19.c b/testsuites/psxtests/psxhdrs/signal19.c
index c9e0c50b1f..6922b0efe8 100644
--- a/testsuites/psxtests/psxhdrs/signal19.c
+++ b/testsuites/psxtests/psxhdrs/signal19.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal20.c b/testsuites/psxtests/psxhdrs/signal20.c
index 21e9bf303c..da0f27a8f3 100644
--- a/testsuites/psxtests/psxhdrs/signal20.c
+++ b/testsuites/psxtests/psxhdrs/signal20.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal21.c b/testsuites/psxtests/psxhdrs/signal21.c
index afb9c0a8ca..51bfb3dd5f 100644
--- a/testsuites/psxtests/psxhdrs/signal21.c
+++ b/testsuites/psxtests/psxhdrs/signal21.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal22.c b/testsuites/psxtests/psxhdrs/signal22.c
index 61631b12c8..964cefc156 100644
--- a/testsuites/psxtests/psxhdrs/signal22.c
+++ b/testsuites/psxtests/psxhdrs/signal22.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/signal23.c b/testsuites/psxtests/psxhdrs/signal23.c
index 820080e579..80217da888 100644
--- a/testsuites/psxtests/psxhdrs/signal23.c
+++ b/testsuites/psxtests/psxhdrs/signal23.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval));
diff --git a/testsuites/psxtests/psxhdrs/sync01.c b/testsuites/psxtests/psxhdrs/sync01.c
index 1a39f93f44..170e10638a 100644
--- a/testsuites/psxtests/psxhdrs/sync01.c
+++ b/testsuites/psxtests/psxhdrs/sync01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/sync02.c b/testsuites/psxtests/psxhdrs/sync02.c
index c4eb58bf6f..7ed53db604 100644
--- a/testsuites/psxtests/psxhdrs/sync02.c
+++ b/testsuites/psxtests/psxhdrs/sync02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/sync03.c b/testsuites/psxtests/psxhdrs/sync03.c
index 845cc76944..9effcd863a 100644
--- a/testsuites/psxtests/psxhdrs/sync03.c
+++ b/testsuites/psxtests/psxhdrs/sync03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time01.c b/testsuites/psxtests/psxhdrs/time01.c
index 4b628c56e7..221089374e 100644
--- a/testsuites/psxtests/psxhdrs/time01.c
+++ b/testsuites/psxtests/psxhdrs/time01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time02.c b/testsuites/psxtests/psxhdrs/time02.c
index 1d0096d527..768e2a547e 100644
--- a/testsuites/psxtests/psxhdrs/time02.c
+++ b/testsuites/psxtests/psxhdrs/time02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time03.c b/testsuites/psxtests/psxhdrs/time03.c
index 3ebace870d..969c115a9e 100644
--- a/testsuites/psxtests/psxhdrs/time03.c
+++ b/testsuites/psxtests/psxhdrs/time03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time04.c b/testsuites/psxtests/psxhdrs/time04.c
index 1806f66bcc..6d3a7294de 100644
--- a/testsuites/psxtests/psxhdrs/time04.c
+++ b/testsuites/psxtests/psxhdrs/time04.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time05.c b/testsuites/psxtests/psxhdrs/time05.c
index a695245dfd..80963b0a46 100644
--- a/testsuites/psxtests/psxhdrs/time05.c
+++ b/testsuites/psxtests/psxhdrs/time05.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time06.c b/testsuites/psxtests/psxhdrs/time06.c
index 618f0fb98e..0f7f1cd38f 100644
--- a/testsuites/psxtests/psxhdrs/time06.c
+++ b/testsuites/psxtests/psxhdrs/time06.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time07.c b/testsuites/psxtests/psxhdrs/time07.c
index da13652d2a..684d68be5a 100644
--- a/testsuites/psxtests/psxhdrs/time07.c
+++ b/testsuites/psxtests/psxhdrs/time07.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time08.c b/testsuites/psxtests/psxhdrs/time08.c
index 6d80cf4e09..e16dab2723 100644
--- a/testsuites/psxtests/psxhdrs/time08.c
+++ b/testsuites/psxtests/psxhdrs/time08.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time09.c b/testsuites/psxtests/psxhdrs/time09.c
index be027e115e..0973490d61 100644
--- a/testsuites/psxtests/psxhdrs/time09.c
+++ b/testsuites/psxtests/psxhdrs/time09.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time10.c b/testsuites/psxtests/psxhdrs/time10.c
index 7d70e21509..1286120897 100644
--- a/testsuites/psxtests/psxhdrs/time10.c
+++ b/testsuites/psxtests/psxhdrs/time10.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time11.c b/testsuites/psxtests/psxhdrs/time11.c
index 76f8ad17cc..67b5330723 100644
--- a/testsuites/psxtests/psxhdrs/time11.c
+++ b/testsuites/psxtests/psxhdrs/time11.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time12.c b/testsuites/psxtests/psxhdrs/time12.c
index 253c050e41..b6113db0dd 100644
--- a/testsuites/psxtests/psxhdrs/time12.c
+++ b/testsuites/psxtests/psxhdrs/time12.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/time13.c b/testsuites/psxtests/psxhdrs/time13.c
index 58902ec6b9..b58f0d1b44 100644
--- a/testsuites/psxtests/psxhdrs/time13.c
+++ b/testsuites/psxtests/psxhdrs/time13.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
void test( void );
diff --git a/testsuites/psxtests/psxhdrs/timer01.c b/testsuites/psxtests/psxhdrs/timer01.c
index 23ce0d8a9a..ad5a22f949 100644
--- a/testsuites/psxtests/psxhdrs/timer01.c
+++ b/testsuites/psxtests/psxhdrs/timer01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_TIMERS
diff --git a/testsuites/psxtests/psxhdrs/timer02.c b/testsuites/psxtests/psxhdrs/timer02.c
index 5a2ca8771b..3bb9e10e0e 100644
--- a/testsuites/psxtests/psxhdrs/timer02.c
+++ b/testsuites/psxtests/psxhdrs/timer02.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_TIMERS
diff --git a/testsuites/psxtests/psxhdrs/timer03.c b/testsuites/psxtests/psxhdrs/timer03.c
index 666c36fadb..58dc6ce0b2 100644
--- a/testsuites/psxtests/psxhdrs/timer03.c
+++ b/testsuites/psxtests/psxhdrs/timer03.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_TIMERS
diff --git a/testsuites/psxtests/psxhdrs/timer04.c b/testsuites/psxtests/psxhdrs/timer04.c
index aba173df80..0ad6bafe09 100644
--- a/testsuites/psxtests/psxhdrs/timer04.c
+++ b/testsuites/psxtests/psxhdrs/timer04.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_TIMERS
diff --git a/testsuites/psxtests/psxhdrs/timer05.c b/testsuites/psxtests/psxhdrs/timer05.c
index 2c6d3e743b..ba30fe7240 100644
--- a/testsuites/psxtests/psxhdrs/timer05.c
+++ b/testsuites/psxtests/psxhdrs/timer05.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_TIMERS
diff --git a/testsuites/psxtests/psxhdrs/timer06.c b/testsuites/psxtests/psxhdrs/timer06.c
index 46b66db921..0a1af0e597 100644
--- a/testsuites/psxtests/psxhdrs/timer06.c
+++ b/testsuites/psxtests/psxhdrs/timer06.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#ifndef _POSIX_TIMERS
diff --git a/testsuites/psxtests/psxhdrs/timer07.c b/testsuites/psxtests/psxhdrs/timer07.c
index 1995cfdd0a..a349e08739 100644
--- a/testsuites/psxtests/psxhdrs/timer07.c
+++ b/testsuites/psxtests/psxhdrs/timer07.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
void test( void );
diff --git a/testsuites/psxtests/psxid01/init.c b/testsuites/psxtests/psxid01/init.c
index c0e157c203..5a11b61812 100644
--- a/testsuites/psxtests/psxid01/init.c
+++ b/testsuites/psxtests/psxid01/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/psxtests/psximfs01/init.c b/testsuites/psxtests/psximfs01/init.c
index cafac02701..c567eee10f 100644
--- a/testsuites/psxtests/psximfs01/init.c
+++ b/testsuites/psxtests/psximfs01/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/psxtests/psximfs02/init.c b/testsuites/psxtests/psximfs02/init.c
index 08d0d1f911..7ae97705a5 100644
--- a/testsuites/psxtests/psximfs02/init.c
+++ b/testsuites/psxtests/psximfs02/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/psxtests/psxintrcritical01/init.c b/testsuites/psxtests/psxintrcritical01/init.c
index 3c4364343d..3ad82604f5 100644
--- a/testsuites/psxtests/psxintrcritical01/init.c
+++ b/testsuites/psxtests/psxintrcritical01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <intrcritical.h>
#include <time.h>
diff --git a/testsuites/psxtests/psxitimer/init.c b/testsuites/psxtests/psxitimer/init.c
index b370b67b9d..046a4ef310 100644
--- a/testsuites/psxtests/psxitimer/init.c
+++ b/testsuites/psxtests/psxitimer/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pmacros.h>
#include <sys/time.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxkey01/init.c b/testsuites/psxtests/psxkey01/init.c
index 640f496c7d..c7db1dfd96 100644
--- a/testsuites/psxtests/psxkey01/init.c
+++ b/testsuites/psxtests/psxkey01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psxkey01/task.c b/testsuites/psxtests/psxkey01/task.c
index e3e0573954..01c989cfca 100644
--- a/testsuites/psxtests/psxkey01/task.c
+++ b/testsuites/psxtests/psxkey01/task.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psxkey02/init.c b/testsuites/psxtests/psxkey02/init.c
index 4a8c277587..b3c66f733e 100644
--- a/testsuites/psxtests/psxkey02/init.c
+++ b/testsuites/psxtests/psxkey02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
#include "tmacros.h"
diff --git a/testsuites/psxtests/psxkey03/init.c b/testsuites/psxtests/psxkey03/init.c
index 97fc1a50a0..139767e4a3 100644
--- a/testsuites/psxtests/psxkey03/init.c
+++ b/testsuites/psxtests/psxkey03/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
#include "tmacros.h"
diff --git a/testsuites/psxtests/psxmount/main.c b/testsuites/psxtests/psxmount/main.c
index 8fa02b840c..f689544947 100644
--- a/testsuites/psxtests/psxmount/main.c
+++ b/testsuites/psxtests/psxmount/main.c
@@ -6,6 +6,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxmount/test.c b/testsuites/psxtests/psxmount/test.c
index b3dc2e758b..7e1c84fcda 100644
--- a/testsuites/psxtests/psxmount/test.c
+++ b/testsuites/psxtests/psxmount/test.c
@@ -25,6 +25,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c
index 758aa71a3f..3643bdc8ec 100644
--- a/testsuites/psxtests/psxmsgq01/init.c
+++ b/testsuites/psxtests/psxmsgq01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <sched.h>
diff --git a/testsuites/psxtests/psxmsgq02/init.c b/testsuites/psxtests/psxmsgq02/init.c
index caaa5ff864..a9cb686e38 100644
--- a/testsuites/psxtests/psxmsgq02/init.c
+++ b/testsuites/psxtests/psxmsgq02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <errno.h>
diff --git a/testsuites/psxtests/psxmsgq03/init.c b/testsuites/psxtests/psxmsgq03/init.c
index b144ea7190..63a4a0b2c3 100644
--- a/testsuites/psxtests/psxmsgq03/init.c
+++ b/testsuites/psxtests/psxmsgq03/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/psxtests/psxmsgq04/init.c b/testsuites/psxtests/psxmsgq04/init.c
index b67b7a29e9..efc65f1221 100644
--- a/testsuites/psxtests/psxmsgq04/init.c
+++ b/testsuites/psxtests/psxmsgq04/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pmacros.h>
#include <unistd.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxmutexattr01/init.c b/testsuites/psxtests/psxmutexattr01/init.c
index 24f0cd2637..522194b79b 100644
--- a/testsuites/psxtests/psxmutexattr01/init.c
+++ b/testsuites/psxtests/psxmutexattr01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <errno.h>
#include <pthread.h>
diff --git a/testsuites/psxtests/psxobj01/init.c b/testsuites/psxtests/psxobj01/init.c
index 25cf7214c3..8d3cdcb9a2 100644
--- a/testsuites/psxtests/psxobj01/init.c
+++ b/testsuites/psxtests/psxobj01/init.c
@@ -10,6 +10,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <tmacros.h>
#include "test_support.h"
diff --git a/testsuites/psxtests/psxpasswd01/init.c b/testsuites/psxtests/psxpasswd01/init.c
index f11c3f469c..39a39aad85 100644
--- a/testsuites/psxtests/psxpasswd01/init.c
+++ b/testsuites/psxtests/psxpasswd01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxpasswd02/init.c b/testsuites/psxtests/psxpasswd02/init.c
index 9cd876b6e3..1ce64901a7 100644
--- a/testsuites/psxtests/psxpasswd02/init.c
+++ b/testsuites/psxtests/psxpasswd02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxpipe01/init.c b/testsuites/psxtests/psxpipe01/init.c
index 7ef2e31e32..b9bbfd95c2 100644
--- a/testsuites/psxtests/psxpipe01/init.c
+++ b/testsuites/psxtests/psxpipe01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
#include <sys/types.h>
diff --git a/testsuites/psxtests/psxrdwrv/main.c b/testsuites/psxtests/psxrdwrv/main.c
index 4a75d89fbe..8abf3a66d6 100644
--- a/testsuites/psxtests/psxrdwrv/main.c
+++ b/testsuites/psxtests/psxrdwrv/main.c
@@ -13,6 +13,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxrdwrv/test.c b/testsuites/psxtests/psxrdwrv/test.c
index 7c2e8593d6..a5e5696ebc 100644
--- a/testsuites/psxtests/psxrdwrv/test.c
+++ b/testsuites/psxtests/psxrdwrv/test.c
@@ -15,6 +15,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxreaddir/main.c b/testsuites/psxtests/psxreaddir/main.c
index 563b683fb6..c964bcdfe8 100644
--- a/testsuites/psxtests/psxreaddir/main.c
+++ b/testsuites/psxtests/psxreaddir/main.c
@@ -4,6 +4,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c
index 142dfc3c26..25377fd08e 100644
--- a/testsuites/psxtests/psxreaddir/test.c
+++ b/testsuites/psxtests/psxreaddir/test.c
@@ -25,6 +25,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>
diff --git a/testsuites/psxtests/psxrwlock01/main.c b/testsuites/psxtests/psxrwlock01/main.c
index 34807054ac..8b22cd4f6c 100644
--- a/testsuites/psxtests/psxrwlock01/main.c
+++ b/testsuites/psxtests/psxrwlock01/main.c
@@ -13,6 +13,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxrwlock01/test.c b/testsuites/psxtests/psxrwlock01/test.c
index 83d0a0527d..57ded9d145 100644
--- a/testsuites/psxtests/psxrwlock01/test.c
+++ b/testsuites/psxtests/psxrwlock01/test.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <stdio.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxsem01/init.c b/testsuites/psxtests/psxsem01/init.c
index 6e4f9893b6..47146a6e49 100644
--- a/testsuites/psxtests/psxsem01/init.c
+++ b/testsuites/psxtests/psxsem01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sched.h>
#include <semaphore.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxsignal01/init.c b/testsuites/psxtests/psxsignal01/init.c
index a6c4d489ac..749274c316 100644
--- a/testsuites/psxtests/psxsignal01/init.c
+++ b/testsuites/psxtests/psxsignal01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psxsignal01/task1.c b/testsuites/psxtests/psxsignal01/task1.c
index 8086b3b6dd..3bac9c062b 100644
--- a/testsuites/psxtests/psxsignal01/task1.c
+++ b/testsuites/psxtests/psxsignal01/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psxsignal02/init.c b/testsuites/psxtests/psxsignal02/init.c
index 0734abf1c5..87e1652cd3 100644
--- a/testsuites/psxtests/psxsignal02/init.c
+++ b/testsuites/psxtests/psxsignal02/init.c
@@ -9,6 +9,9 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pmacros.h>
#include <signal.h>
diff --git a/testsuites/psxtests/psxsignal03/init.c b/testsuites/psxtests/psxsignal03/init.c
index c1916f1adb..099b7b4c9c 100644
--- a/testsuites/psxtests/psxsignal03/init.c
+++ b/testsuites/psxtests/psxsignal03/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if defined(USE_USER_SIGNALS_PROCESS)
#define TEST_NAME "03"
#define TEST_STRING "User Signals to Process"
diff --git a/testsuites/psxtests/psxsignal05/init.c b/testsuites/psxtests/psxsignal05/init.c
index dee4c1cc04..966459019c 100644
--- a/testsuites/psxtests/psxsignal05/init.c
+++ b/testsuites/psxtests/psxsignal05/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define TEST_NAME "05"
#define TEST_STRING "User Signals"
#define SIGNAL_ONE SIGUSR1
diff --git a/testsuites/psxtests/psxsignal06/init.c b/testsuites/psxtests/psxsignal06/init.c
index ba513e8220..acda85bd81 100644
--- a/testsuites/psxtests/psxsignal06/init.c
+++ b/testsuites/psxtests/psxsignal06/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <pthread.h>
diff --git a/testsuites/psxtests/psxspin01/main.c b/testsuites/psxtests/psxspin01/main.c
index cf5498a413..a89fcc27cd 100644
--- a/testsuites/psxtests/psxspin01/main.c
+++ b/testsuites/psxtests/psxspin01/main.c
@@ -13,6 +13,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxspin01/test.c b/testsuites/psxtests/psxspin01/test.c
index 8fe37b95b4..2b0e505527 100644
--- a/testsuites/psxtests/psxspin01/test.c
+++ b/testsuites/psxtests/psxspin01/test.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <stdio.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxspin02/main.c b/testsuites/psxtests/psxspin02/main.c
index cf5498a413..a89fcc27cd 100644
--- a/testsuites/psxtests/psxspin02/main.c
+++ b/testsuites/psxtests/psxspin02/main.c
@@ -13,6 +13,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxspin02/test.c b/testsuites/psxtests/psxspin02/test.c
index 4ca085e95e..cd38d02af9 100644
--- a/testsuites/psxtests/psxspin02/test.c
+++ b/testsuites/psxtests/psxspin02/test.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
#include <stdio.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxstack01/init.c b/testsuites/psxtests/psxstack01/init.c
index 4c66328b60..b91cb9cf25 100644
--- a/testsuites/psxtests/psxstack01/init.c
+++ b/testsuites/psxtests/psxstack01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <pmacros.h>
#include <errno.h>
diff --git a/testsuites/psxtests/psxstack02/init.c b/testsuites/psxtests/psxstack02/init.c
index c393e6a9e4..a7d58621ba 100644
--- a/testsuites/psxtests/psxstack02/init.c
+++ b/testsuites/psxtests/psxstack02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <tmacros.h>
#include "test_support.h"
diff --git a/testsuites/psxtests/psxstat/main.c b/testsuites/psxtests/psxstat/main.c
index ed5d5b60f6..a0d06b55e2 100644
--- a/testsuites/psxtests/psxstat/main.c
+++ b/testsuites/psxtests/psxstat/main.c
@@ -13,6 +13,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c
index 45efb4d115..a3d4004c3b 100644
--- a/testsuites/psxtests/psxstat/test.c
+++ b/testsuites/psxtests/psxstat/test.c
@@ -15,6 +15,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/testsuites/psxtests/psxsysconf/init.c b/testsuites/psxtests/psxsysconf/init.c
index 74db6c0a2d..0b0f4c82db 100644
--- a/testsuites/psxtests/psxsysconf/init.c
+++ b/testsuites/psxtests/psxsysconf/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include "tmacros.h"
diff --git a/testsuites/psxtests/psxtime/main.c b/testsuites/psxtests/psxtime/main.c
index cddbbdb9da..2336362e67 100644
--- a/testsuites/psxtests/psxtime/main.c
+++ b/testsuites/psxtests/psxtime/main.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include <bsp.h>
diff --git a/testsuites/psxtests/psxtime/test.c b/testsuites/psxtests/psxtime/test.c
index d1f056b9e6..011d2c4f05 100644
--- a/testsuites/psxtests/psxtime/test.c
+++ b/testsuites/psxtests/psxtime/test.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/testsuites/psxtests/psxtimer01/psxtimer.c b/testsuites/psxtests/psxtimer01/psxtimer.c
index 231bf4d26a..3b44f780ed 100644
--- a/testsuites/psxtests/psxtimer01/psxtimer.c
+++ b/testsuites/psxtests/psxtimer01/psxtimer.c
@@ -22,6 +22,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <pthread.h> /* thread facilities */
diff --git a/testsuites/psxtests/psxtimer02/psxtimer.c b/testsuites/psxtests/psxtimer02/psxtimer.c
index 671eb92828..1ce2c14999 100644
--- a/testsuites/psxtests/psxtimer02/psxtimer.c
+++ b/testsuites/psxtests/psxtimer02/psxtimer.c
@@ -22,6 +22,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include "tmacros.h"
diff --git a/testsuites/psxtests/psxtimes01/init.c b/testsuites/psxtests/psxtimes01/init.c
index fe7b508e7c..ae52d0fb9a 100644
--- a/testsuites/psxtests/psxtimes01/init.c
+++ b/testsuites/psxtests/psxtimes01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <sys/times.h>
diff --git a/testsuites/psxtests/psxualarm/init.c b/testsuites/psxtests/psxualarm/init.c
index 4277a90bbb..840432a5f1 100644
--- a/testsuites/psxtests/psxualarm/init.c
+++ b/testsuites/psxtests/psxualarm/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <signal.h>
diff --git a/testsuites/psxtests/psxusleep/init.c b/testsuites/psxtests/psxusleep/init.c
index bd66d28a83..410b5cd226 100644
--- a/testsuites/psxtests/psxusleep/init.c
+++ b/testsuites/psxtests/psxusleep/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pmacros.h>
#include <time.h>
#include <errno.h>