summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/sp01/init.c4
-rw-r--r--testsuites/sptests/sp01/task1.c4
-rw-r--r--testsuites/sptests/sp02/init.c4
-rw-r--r--testsuites/sptests/sp02/preempt.c4
-rw-r--r--testsuites/sptests/sp02/task1.c4
-rw-r--r--testsuites/sptests/sp02/task2.c4
-rw-r--r--testsuites/sptests/sp02/task3.c4
-rw-r--r--testsuites/sptests/sp03/init.c4
-rw-r--r--testsuites/sptests/sp03/task1.c4
-rw-r--r--testsuites/sptests/sp03/task2.c4
-rw-r--r--testsuites/sptests/sp04/init.c4
-rw-r--r--testsuites/sptests/sp04/task1.c4
-rw-r--r--testsuites/sptests/sp04/task2.c4
-rw-r--r--testsuites/sptests/sp04/task3.c4
-rw-r--r--testsuites/sptests/sp04/tswitch.c4
-rw-r--r--testsuites/sptests/sp05/init.c4
-rw-r--r--testsuites/sptests/sp05/task1.c4
-rw-r--r--testsuites/sptests/sp05/task2.c4
-rw-r--r--testsuites/sptests/sp05/task3.c4
-rw-r--r--testsuites/sptests/sp06/init.c4
-rw-r--r--testsuites/sptests/sp06/task1.c4
-rw-r--r--testsuites/sptests/sp06/task2.c4
-rw-r--r--testsuites/sptests/sp06/task3.c4
-rw-r--r--testsuites/sptests/sp07/buffered_io.c4
-rw-r--r--testsuites/sptests/sp07/init.c4
-rw-r--r--testsuites/sptests/sp07/task1.c4
-rw-r--r--testsuites/sptests/sp07/task2.c4
-rw-r--r--testsuites/sptests/sp07/task3.c4
-rw-r--r--testsuites/sptests/sp07/task4.c4
-rw-r--r--testsuites/sptests/sp07/taskexit.c4
-rw-r--r--testsuites/sptests/sp07/tcreate.c4
-rw-r--r--testsuites/sptests/sp07/tdelete.c4
-rw-r--r--testsuites/sptests/sp07/trestart.c4
-rw-r--r--testsuites/sptests/sp07/tstart.c4
-rw-r--r--testsuites/sptests/sp08/init.c4
-rw-r--r--testsuites/sptests/sp08/task1.c4
-rw-r--r--testsuites/sptests/sp09/delay.c4
-rw-r--r--testsuites/sptests/sp09/init.c4
-rw-r--r--testsuites/sptests/sp09/isr.c4
-rw-r--r--testsuites/sptests/sp09/screen01.c4
-rw-r--r--testsuites/sptests/sp09/screen02.c4
-rw-r--r--testsuites/sptests/sp09/screen03.c4
-rw-r--r--testsuites/sptests/sp09/screen04.c4
-rw-r--r--testsuites/sptests/sp09/screen05.c4
-rw-r--r--testsuites/sptests/sp09/screen06.c4
-rw-r--r--testsuites/sptests/sp09/screen07.c4
-rw-r--r--testsuites/sptests/sp09/screen08.c4
-rw-r--r--testsuites/sptests/sp09/screen09.c4
-rw-r--r--testsuites/sptests/sp09/screen10.c4
-rw-r--r--testsuites/sptests/sp09/screen11.c4
-rw-r--r--testsuites/sptests/sp09/screen12.c4
-rw-r--r--testsuites/sptests/sp09/screen13.c4
-rw-r--r--testsuites/sptests/sp09/screen14.c4
-rw-r--r--testsuites/sptests/sp09/task1.c4
-rw-r--r--testsuites/sptests/sp09/task2.c4
-rw-r--r--testsuites/sptests/sp09/task3.c4
-rw-r--r--testsuites/sptests/sp09/task4.c4
-rw-r--r--testsuites/sptests/sp10/init.c4
-rw-r--r--testsuites/sptests/sp11/init.c4
-rw-r--r--testsuites/sptests/sp11/task1.c4
-rw-r--r--testsuites/sptests/sp11/task2.c4
-rw-r--r--testsuites/sptests/sp11/timer.c4
-rw-r--r--testsuites/sptests/sp12/init.c4
-rw-r--r--testsuites/sptests/sp12/pridrv.c4
-rw-r--r--testsuites/sptests/sp12/pritask.c4
-rw-r--r--testsuites/sptests/sp12/task1.c4
-rw-r--r--testsuites/sptests/sp12/task2.c4
-rw-r--r--testsuites/sptests/sp12/task3.c4
-rw-r--r--testsuites/sptests/sp12/task4.c4
-rw-r--r--testsuites/sptests/sp12/task5.c4
-rw-r--r--testsuites/sptests/sp13/fillbuff.c4
-rw-r--r--testsuites/sptests/sp13/init.c4
-rw-r--r--testsuites/sptests/sp13/putbuff.c4
-rw-r--r--testsuites/sptests/sp13/task1.c4
-rw-r--r--testsuites/sptests/sp13/task2.c4
-rw-r--r--testsuites/sptests/sp13/task3.c4
-rw-r--r--testsuites/sptests/sp14/asr.c4
-rw-r--r--testsuites/sptests/sp14/init.c4
-rw-r--r--testsuites/sptests/sp14/task1.c4
-rw-r--r--testsuites/sptests/sp14/task2.c4
-rw-r--r--testsuites/sptests/sp15/init.c4
-rw-r--r--testsuites/sptests/sp15/task1.c4
-rw-r--r--testsuites/sptests/sp16/init.c4
-rw-r--r--testsuites/sptests/sp16/task1.c4
-rw-r--r--testsuites/sptests/sp16/task2.c4
-rw-r--r--testsuites/sptests/sp16/task3.c4
-rw-r--r--testsuites/sptests/sp16/task4.c4
-rw-r--r--testsuites/sptests/sp16/task5.c4
-rw-r--r--testsuites/sptests/sp17/asr.c4
-rw-r--r--testsuites/sptests/sp17/init.c4
-rw-r--r--testsuites/sptests/sp17/task1.c4
-rw-r--r--testsuites/sptests/sp17/task2.c4
-rw-r--r--testsuites/sptests/sp18/init.c4
-rw-r--r--testsuites/sptests/sp19/first.c4
-rw-r--r--testsuites/sptests/sp19/fptask.c4
-rw-r--r--testsuites/sptests/sp19/init.c4
-rw-r--r--testsuites/sptests/sp19/task1.c4
-rw-r--r--testsuites/sptests/sp20/getall.c4
-rw-r--r--testsuites/sptests/sp20/init.c4
-rw-r--r--testsuites/sptests/sp20/task1.c4
-rw-r--r--testsuites/sptests/sp21/init.c4
-rw-r--r--testsuites/sptests/sp22/delay.c4
-rw-r--r--testsuites/sptests/sp22/init.c4
-rw-r--r--testsuites/sptests/sp22/prtime.c4
-rw-r--r--testsuites/sptests/sp22/task1.c4
-rw-r--r--testsuites/sptests/sp23/init.c4
-rw-r--r--testsuites/sptests/sp23/task1.c4
-rw-r--r--testsuites/sptests/sp24/init.c4
-rw-r--r--testsuites/sptests/sp24/resume.c4
-rw-r--r--testsuites/sptests/sp24/task1.c4
-rw-r--r--testsuites/sptests/sp25/init.c4
-rw-r--r--testsuites/sptests/sp25/task1.c4
-rw-r--r--testsuites/sptests/sp26/init.c4
-rw-r--r--testsuites/sptests/sp26/task1.c4
-rw-r--r--testsuites/sptests/sp27/init.c4
-rw-r--r--testsuites/sptests/sp28/init.c4
-rw-r--r--testsuites/sptests/sp29/init.c4
-rw-r--r--testsuites/sptests/sp30/init.c4
-rw-r--r--testsuites/sptests/sp30/resume.c4
-rw-r--r--testsuites/sptests/sp30/task1.c4
-rw-r--r--testsuites/sptests/sp31/delay.c4
-rw-r--r--testsuites/sptests/sp31/init.c4
-rw-r--r--testsuites/sptests/sp31/prtime.c4
-rw-r--r--testsuites/sptests/sp31/task1.c4
-rw-r--r--testsuites/sptests/sp32/init.c4
-rw-r--r--testsuites/sptests/sp33/init.c4
-rw-r--r--testsuites/sptests/sp34/changepri.c4
-rw-r--r--testsuites/sptests/sp35/priinv.c4
-rw-r--r--testsuites/sptests/sp36/strict_order_mut.c4
-rw-r--r--testsuites/sptests/sp37/init.c4
-rw-r--r--testsuites/sptests/sp38/init.c4
-rw-r--r--testsuites/sptests/sp39/init.c4
-rw-r--r--testsuites/sptests/sp40/init.c4
-rw-r--r--testsuites/sptests/sp41/init.c4
-rw-r--r--testsuites/sptests/sp42/init.c4
-rw-r--r--testsuites/sptests/sp43/init.c4
-rw-r--r--testsuites/sptests/sp44/init.c4
-rw-r--r--testsuites/sptests/sp45/init.c4
-rw-r--r--testsuites/sptests/sp46/init.c4
-rw-r--r--testsuites/sptests/sp47/init.c4
-rw-r--r--testsuites/sptests/sp48/init.c4
-rw-r--r--testsuites/sptests/sp49/init.c4
-rw-r--r--testsuites/sptests/sp50/init.c4
-rw-r--r--testsuites/sptests/sp51/init.c4
-rw-r--r--testsuites/sptests/sp52/init.c4
-rw-r--r--testsuites/sptests/sp54/init.c4
-rw-r--r--testsuites/sptests/sp55/init.c4
-rw-r--r--testsuites/sptests/sp56/init.c4
-rw-r--r--testsuites/sptests/sp57/init.c4
-rw-r--r--testsuites/sptests/sp58/init.c4
-rw-r--r--testsuites/sptests/sp59/init.c4
-rw-r--r--testsuites/sptests/sp60/init.c4
-rw-r--r--testsuites/sptests/sp62/init.c4
-rw-r--r--testsuites/sptests/sp63/init.c4
-rw-r--r--testsuites/sptests/sp64/init.c4
-rw-r--r--testsuites/sptests/sp65/init.c4
-rw-r--r--testsuites/sptests/sp66/init.c4
-rw-r--r--testsuites/sptests/sp67/init.c4
-rw-r--r--testsuites/sptests/sp68/init.c4
-rw-r--r--testsuites/sptests/sp69/init.c4
-rw-r--r--testsuites/sptests/sp70/init.c4
-rw-r--r--testsuites/sptests/sp71/init.c4
-rw-r--r--testsuites/sptests/sp72/init.c4
-rw-r--r--testsuites/sptests/spassoc01/init.c4
-rw-r--r--testsuites/sptests/spchain/init.c4
-rw-r--r--testsuites/sptests/spclockget/init.c4
-rw-r--r--testsuites/sptests/spcoverage/init.c4
-rw-r--r--testsuites/sptests/sperror01/init.c4
-rw-r--r--testsuites/sptests/sperror02/init.c4
-rw-r--r--testsuites/sptests/sperror03/init.c4
-rw-r--r--testsuites/sptests/spfatal_support/consume_sems.c4
-rw-r--r--testsuites/sptests/spfatal_support/init.c4
-rw-r--r--testsuites/sptests/spfifo01/init.c4
-rw-r--r--testsuites/sptests/spfifo02/init.c4
-rw-r--r--testsuites/sptests/spfifo03/init.c5
-rw-r--r--testsuites/sptests/spfifo04/init.c5
-rw-r--r--testsuites/sptests/spfifo05/init.c5
-rw-r--r--testsuites/sptests/spheapprot/init.c4
-rw-r--r--testsuites/sptests/spintrcritical01/init.c4
-rw-r--r--testsuites/sptests/spintrcritical06/init.c4
-rw-r--r--testsuites/sptests/spintrcritical08/init.c4
-rw-r--r--testsuites/sptests/spintrcritical09/init.c4
-rw-r--r--testsuites/sptests/spintrcritical10/init.c4
-rw-r--r--testsuites/sptests/spintrcritical11/init.c4
-rw-r--r--testsuites/sptests/spintrcritical13/init.c4
-rw-r--r--testsuites/sptests/spintrcritical15/init.c4
-rw-r--r--testsuites/sptests/spintrcritical16/init.c4
-rw-r--r--testsuites/sptests/spintrcritical17/init.c4
-rw-r--r--testsuites/sptests/spintrcritical_support/intrcritical.c4
-rw-r--r--testsuites/sptests/spmkdir/init.c4
-rw-r--r--testsuites/sptests/spmountmgr01/init.c4
-rw-r--r--testsuites/sptests/spnotepad01/init.c4
-rw-r--r--testsuites/sptests/spobjgetnext/init.c4
-rw-r--r--testsuites/sptests/spprintk/init.c4
-rw-r--r--testsuites/sptests/spprivenv01/init.c4
-rw-r--r--testsuites/sptests/spsize/getint.c4
-rw-r--r--testsuites/sptests/spsize/init.c4
-rw-r--r--testsuites/sptests/spsize/size.c4
-rw-r--r--testsuites/sptests/spstkalloc/init.c4
-rw-r--r--testsuites/sptests/spthreadq01/init.c4
-rw-r--r--testsuites/sptests/spwatchdog/delay.c4
-rw-r--r--testsuites/sptests/spwatchdog/init.c4
-rw-r--r--testsuites/sptests/spwatchdog/prtime.c4
-rw-r--r--testsuites/sptests/spwatchdog/task1.c4
-rw-r--r--testsuites/sptests/spwkspace/init.c4
205 files changed, 820 insertions, 3 deletions
diff --git a/testsuites/sptests/sp01/init.c b/testsuites/sptests/sp01/init.c
index 7f5aba94dd..dacf510b71 100644
--- a/testsuites/sptests/sp01/init.c
+++ b/testsuites/sptests/sp01/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp01/task1.c b/testsuites/sptests/sp01/task1.c
index 50cc0b827c..90fd2965e8 100644
--- a/testsuites/sptests/sp01/task1.c
+++ b/testsuites/sptests/sp01/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1_through_3(
diff --git a/testsuites/sptests/sp02/init.c b/testsuites/sptests/sp02/init.c
index ec104562ee..e7260c9edd 100644
--- a/testsuites/sptests/sp02/init.c
+++ b/testsuites/sptests/sp02/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp02/preempt.c b/testsuites/sptests/sp02/preempt.c
index 9388beac66..0d0d1aebad 100644
--- a/testsuites/sptests/sp02/preempt.c
+++ b/testsuites/sptests/sp02/preempt.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Preempt_task(
diff --git a/testsuites/sptests/sp02/task1.c b/testsuites/sptests/sp02/task1.c
index 998fd50141..07f2e5e062 100644
--- a/testsuites/sptests/sp02/task1.c
+++ b/testsuites/sptests/sp02/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp02/task2.c b/testsuites/sptests/sp02/task2.c
index 1ade96f1b1..ed39079dbd 100644
--- a/testsuites/sptests/sp02/task2.c
+++ b/testsuites/sptests/sp02/task2.c
@@ -19,6 +19,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp02/task3.c b/testsuites/sptests/sp02/task3.c
index 41c08144ce..654a7570e3 100644
--- a/testsuites/sptests/sp02/task3.c
+++ b/testsuites/sptests/sp02/task3.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_3(
diff --git a/testsuites/sptests/sp03/init.c b/testsuites/sptests/sp03/init.c
index bb85d4f576..745327bd60 100644
--- a/testsuites/sptests/sp03/init.c
+++ b/testsuites/sptests/sp03/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp03/task1.c b/testsuites/sptests/sp03/task1.c
index fd30f47e95..d09141d2dd 100644
--- a/testsuites/sptests/sp03/task1.c
+++ b/testsuites/sptests/sp03/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp03/task2.c b/testsuites/sptests/sp03/task2.c
index b985bb69e2..257c6604f2 100644
--- a/testsuites/sptests/sp03/task2.c
+++ b/testsuites/sptests/sp03/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp04/init.c b/testsuites/sptests/sp04/init.c
index 54c1b61e4c..fd98532479 100644
--- a/testsuites/sptests/sp04/init.c
+++ b/testsuites/sptests/sp04/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp04/task1.c b/testsuites/sptests/sp04/task1.c
index 54b933fc3b..53ba8d282b 100644
--- a/testsuites/sptests/sp04/task1.c
+++ b/testsuites/sptests/sp04/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
static void
diff --git a/testsuites/sptests/sp04/task2.c b/testsuites/sptests/sp04/task2.c
index d598d15b7e..60b28c0cd2 100644
--- a/testsuites/sptests/sp04/task2.c
+++ b/testsuites/sptests/sp04/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp04/task3.c b/testsuites/sptests/sp04/task3.c
index faefb4b40b..2a06fd81ce 100644
--- a/testsuites/sptests/sp04/task3.c
+++ b/testsuites/sptests/sp04/task3.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_3(
diff --git a/testsuites/sptests/sp04/tswitch.c b/testsuites/sptests/sp04/tswitch.c
index 5c22016a0b..1f58397df4 100644
--- a/testsuites/sptests/sp04/tswitch.c
+++ b/testsuites/sptests/sp04/tswitch.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
/*
diff --git a/testsuites/sptests/sp05/init.c b/testsuites/sptests/sp05/init.c
index 320a4f8be9..67929a88d9 100644
--- a/testsuites/sptests/sp05/init.c
+++ b/testsuites/sptests/sp05/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp05/task1.c b/testsuites/sptests/sp05/task1.c
index 328a2a3788..b316317f2c 100644
--- a/testsuites/sptests/sp05/task1.c
+++ b/testsuites/sptests/sp05/task1.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp05/task2.c b/testsuites/sptests/sp05/task2.c
index aa1fa6af74..e2047d07ff 100644
--- a/testsuites/sptests/sp05/task2.c
+++ b/testsuites/sptests/sp05/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp05/task3.c b/testsuites/sptests/sp05/task3.c
index e6b1941b4f..ddb1810fda 100644
--- a/testsuites/sptests/sp05/task3.c
+++ b/testsuites/sptests/sp05/task3.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_3(
diff --git a/testsuites/sptests/sp06/init.c b/testsuites/sptests/sp06/init.c
index c18df60663..3e54308b90 100644
--- a/testsuites/sptests/sp06/init.c
+++ b/testsuites/sptests/sp06/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp06/task1.c b/testsuites/sptests/sp06/task1.c
index e5ae84510c..0aaa4a8b0a 100644
--- a/testsuites/sptests/sp06/task1.c
+++ b/testsuites/sptests/sp06/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp06/task2.c b/testsuites/sptests/sp06/task2.c
index 2214623dd3..5c61c2ba5d 100644
--- a/testsuites/sptests/sp06/task2.c
+++ b/testsuites/sptests/sp06/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2( argument )
diff --git a/testsuites/sptests/sp06/task3.c b/testsuites/sptests/sp06/task3.c
index 4c720627d9..4dec68ccb1 100644
--- a/testsuites/sptests/sp06/task3.c
+++ b/testsuites/sptests/sp06/task3.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_3(
diff --git a/testsuites/sptests/sp07/buffered_io.c b/testsuites/sptests/sp07/buffered_io.c
index 0909b77713..27ef4895b8 100644
--- a/testsuites/sptests/sp07/buffered_io.c
+++ b/testsuites/sptests/sp07/buffered_io.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems.h>
#include "system.h"
diff --git a/testsuites/sptests/sp07/init.c b/testsuites/sptests/sp07/init.c
index 806544119b..d724bc7753 100644
--- a/testsuites/sptests/sp07/init.c
+++ b/testsuites/sptests/sp07/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/sptests/sp07/task1.c b/testsuites/sptests/sp07/task1.c
index 6861706e8d..a6ad9045f8 100644
--- a/testsuites/sptests/sp07/task1.c
+++ b/testsuites/sptests/sp07/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp07/task2.c b/testsuites/sptests/sp07/task2.c
index cea82fb36a..cfa8236ad1 100644
--- a/testsuites/sptests/sp07/task2.c
+++ b/testsuites/sptests/sp07/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp07/task3.c b/testsuites/sptests/sp07/task3.c
index 94121db9c5..1e496d07e4 100644
--- a/testsuites/sptests/sp07/task3.c
+++ b/testsuites/sptests/sp07/task3.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_3(
diff --git a/testsuites/sptests/sp07/task4.c b/testsuites/sptests/sp07/task4.c
index 1e44fba25b..0ad675edbe 100644
--- a/testsuites/sptests/sp07/task4.c
+++ b/testsuites/sptests/sp07/task4.c
@@ -19,6 +19,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_4(
diff --git a/testsuites/sptests/sp07/taskexit.c b/testsuites/sptests/sp07/taskexit.c
index 8019bad523..26fcf898a6 100644
--- a/testsuites/sptests/sp07/taskexit.c
+++ b/testsuites/sptests/sp07/taskexit.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Task_exit_extension(
diff --git a/testsuites/sptests/sp07/tcreate.c b/testsuites/sptests/sp07/tcreate.c
index 685e10515e..6e75764018 100644
--- a/testsuites/sptests/sp07/tcreate.c
+++ b/testsuites/sptests/sp07/tcreate.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
bool Task_create_extension(
diff --git a/testsuites/sptests/sp07/tdelete.c b/testsuites/sptests/sp07/tdelete.c
index a6cdfabb15..d2837dd1d1 100644
--- a/testsuites/sptests/sp07/tdelete.c
+++ b/testsuites/sptests/sp07/tdelete.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Task_delete_extension(
diff --git a/testsuites/sptests/sp07/trestart.c b/testsuites/sptests/sp07/trestart.c
index 4df20d0b08..f42ac1c34a 100644
--- a/testsuites/sptests/sp07/trestart.c
+++ b/testsuites/sptests/sp07/trestart.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Task_restart_extension(
diff --git a/testsuites/sptests/sp07/tstart.c b/testsuites/sptests/sp07/tstart.c
index 270a642d67..fadb5acf2d 100644
--- a/testsuites/sptests/sp07/tstart.c
+++ b/testsuites/sptests/sp07/tstart.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Task_start_extension(
diff --git a/testsuites/sptests/sp08/init.c b/testsuites/sptests/sp08/init.c
index d3aa47badd..d8a1cd820e 100644
--- a/testsuites/sptests/sp08/init.c
+++ b/testsuites/sptests/sp08/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp08/task1.c b/testsuites/sptests/sp08/task1.c
index 7f5b9bd304..2d35ebab40 100644
--- a/testsuites/sptests/sp08/task1.c
+++ b/testsuites/sptests/sp08/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp09/delay.c b/testsuites/sptests/sp09/delay.c
index db448d53e8..32065c14c4 100644
--- a/testsuites/sptests/sp09/delay.c
+++ b/testsuites/sptests/sp09/delay.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_timer_service_routine Delayed_routine(
diff --git a/testsuites/sptests/sp09/init.c b/testsuites/sptests/sp09/init.c
index 12ff5a9b08..9cecfec762 100644
--- a/testsuites/sptests/sp09/init.c
+++ b/testsuites/sptests/sp09/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/sptests/sp09/isr.c b/testsuites/sptests/sp09/isr.c
index 9185aac431..ecb4a4f77e 100644
--- a/testsuites/sptests/sp09/isr.c
+++ b/testsuites/sptests/sp09/isr.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_isr Service_routine(
diff --git a/testsuites/sptests/sp09/screen01.c b/testsuites/sptests/sp09/screen01.c
index 4ebdb7eb26..d81883cb0a 100644
--- a/testsuites/sptests/sp09/screen01.c
+++ b/testsuites/sptests/sp09/screen01.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen1()
diff --git a/testsuites/sptests/sp09/screen02.c b/testsuites/sptests/sp09/screen02.c
index 4f14c632be..bf6e8008dc 100644
--- a/testsuites/sptests/sp09/screen02.c
+++ b/testsuites/sptests/sp09/screen02.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen2()
diff --git a/testsuites/sptests/sp09/screen03.c b/testsuites/sptests/sp09/screen03.c
index 07e944f76c..7c9866f30e 100644
--- a/testsuites/sptests/sp09/screen03.c
+++ b/testsuites/sptests/sp09/screen03.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen3()
diff --git a/testsuites/sptests/sp09/screen04.c b/testsuites/sptests/sp09/screen04.c
index 0d0b0fb36e..708b270737 100644
--- a/testsuites/sptests/sp09/screen04.c
+++ b/testsuites/sptests/sp09/screen04.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen4()
diff --git a/testsuites/sptests/sp09/screen05.c b/testsuites/sptests/sp09/screen05.c
index fa7731e3a8..1d6ee0cea1 100644
--- a/testsuites/sptests/sp09/screen05.c
+++ b/testsuites/sptests/sp09/screen05.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen5()
diff --git a/testsuites/sptests/sp09/screen06.c b/testsuites/sptests/sp09/screen06.c
index f95a5de4db..6b83e988d8 100644
--- a/testsuites/sptests/sp09/screen06.c
+++ b/testsuites/sptests/sp09/screen06.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen6()
diff --git a/testsuites/sptests/sp09/screen07.c b/testsuites/sptests/sp09/screen07.c
index a81cfd27f4..0dedfbf2f1 100644
--- a/testsuites/sptests/sp09/screen07.c
+++ b/testsuites/sptests/sp09/screen07.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#define MESSAGE_SIZE (sizeof(long) * 4)
diff --git a/testsuites/sptests/sp09/screen08.c b/testsuites/sptests/sp09/screen08.c
index 2f6efc6668..f59617e04f 100644
--- a/testsuites/sptests/sp09/screen08.c
+++ b/testsuites/sptests/sp09/screen08.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#define MESSAGE_SIZE (sizeof(long) * 4)
diff --git a/testsuites/sptests/sp09/screen09.c b/testsuites/sptests/sp09/screen09.c
index 6e0d510af2..9919883409 100644
--- a/testsuites/sptests/sp09/screen09.c
+++ b/testsuites/sptests/sp09/screen09.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen9()
diff --git a/testsuites/sptests/sp09/screen10.c b/testsuites/sptests/sp09/screen10.c
index 0607e4e101..fc4a5681cd 100644
--- a/testsuites/sptests/sp09/screen10.c
+++ b/testsuites/sptests/sp09/screen10.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen10()
diff --git a/testsuites/sptests/sp09/screen11.c b/testsuites/sptests/sp09/screen11.c
index 1e91c7899d..2cf5c16296 100644
--- a/testsuites/sptests/sp09/screen11.c
+++ b/testsuites/sptests/sp09/screen11.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen11()
diff --git a/testsuites/sptests/sp09/screen12.c b/testsuites/sptests/sp09/screen12.c
index c4850f4cc8..aecb0624fe 100644
--- a/testsuites/sptests/sp09/screen12.c
+++ b/testsuites/sptests/sp09/screen12.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen12()
diff --git a/testsuites/sptests/sp09/screen13.c b/testsuites/sptests/sp09/screen13.c
index 59530cee45..5fb68b1d24 100644
--- a/testsuites/sptests/sp09/screen13.c
+++ b/testsuites/sptests/sp09/screen13.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen13()
diff --git a/testsuites/sptests/sp09/screen14.c b/testsuites/sptests/sp09/screen14.c
index 3f0686fa3e..952cb73b88 100644
--- a/testsuites/sptests/sp09/screen14.c
+++ b/testsuites/sptests/sp09/screen14.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Screen14()
diff --git a/testsuites/sptests/sp09/task1.c b/testsuites/sptests/sp09/task1.c
index ff785d9438..dd7ed2e366 100644
--- a/testsuites/sptests/sp09/task1.c
+++ b/testsuites/sptests/sp09/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp09/task2.c b/testsuites/sptests/sp09/task2.c
index 34dd3177e4..0ca8c92d11 100644
--- a/testsuites/sptests/sp09/task2.c
+++ b/testsuites/sptests/sp09/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp09/task3.c b/testsuites/sptests/sp09/task3.c
index f7bebffeb5..9325ac209b 100644
--- a/testsuites/sptests/sp09/task3.c
+++ b/testsuites/sptests/sp09/task3.c
@@ -19,6 +19,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_3(
diff --git a/testsuites/sptests/sp09/task4.c b/testsuites/sptests/sp09/task4.c
index 736a6cc940..73de6b410e 100644
--- a/testsuites/sptests/sp09/task4.c
+++ b/testsuites/sptests/sp09/task4.c
@@ -19,6 +19,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_4(
diff --git a/testsuites/sptests/sp10/init.c b/testsuites/sptests/sp10/init.c
index 1d822baa6f..daeb166da9 100644
--- a/testsuites/sptests/sp10/init.c
+++ b/testsuites/sptests/sp10/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Init(
diff --git a/testsuites/sptests/sp11/init.c b/testsuites/sptests/sp11/init.c
index 816bbb295a..2b55c0683b 100644
--- a/testsuites/sptests/sp11/init.c
+++ b/testsuites/sptests/sp11/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp11/task1.c b/testsuites/sptests/sp11/task1.c
index d168478abb..ae4542f9ba 100644
--- a/testsuites/sptests/sp11/task1.c
+++ b/testsuites/sptests/sp11/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp11/task2.c b/testsuites/sptests/sp11/task2.c
index 80d2b026fa..99c6eddaa5 100644
--- a/testsuites/sptests/sp11/task2.c
+++ b/testsuites/sptests/sp11/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp11/timer.c b/testsuites/sptests/sp11/timer.c
index 8d98f61663..089ab8454e 100644
--- a/testsuites/sptests/sp11/timer.c
+++ b/testsuites/sptests/sp11/timer.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_timer_service_routine TA1_send_18_to_self_5_seconds(
diff --git a/testsuites/sptests/sp12/init.c b/testsuites/sptests/sp12/init.c
index e828821ae6..567378d3d5 100644
--- a/testsuites/sptests/sp12/init.c
+++ b/testsuites/sptests/sp12/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp12/pridrv.c b/testsuites/sptests/sp12/pridrv.c
index 9ea6445ebc..cbd72e4da7 100644
--- a/testsuites/sptests/sp12/pridrv.c
+++ b/testsuites/sptests/sp12/pridrv.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Priority_test_driver(
diff --git a/testsuites/sptests/sp12/pritask.c b/testsuites/sptests/sp12/pritask.c
index 375faaa179..9b53758775 100644
--- a/testsuites/sptests/sp12/pritask.c
+++ b/testsuites/sptests/sp12/pritask.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Priority_task(
diff --git a/testsuites/sptests/sp12/task1.c b/testsuites/sptests/sp12/task1.c
index c1413e3a12..37aac15c98 100644
--- a/testsuites/sptests/sp12/task1.c
+++ b/testsuites/sptests/sp12/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp12/task2.c b/testsuites/sptests/sp12/task2.c
index ccb985b01b..5ef10d8c8d 100644
--- a/testsuites/sptests/sp12/task2.c
+++ b/testsuites/sptests/sp12/task2.c
@@ -19,6 +19,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp12/task3.c b/testsuites/sptests/sp12/task3.c
index a8d7bf1ef6..140096309f 100644
--- a/testsuites/sptests/sp12/task3.c
+++ b/testsuites/sptests/sp12/task3.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_3(
diff --git a/testsuites/sptests/sp12/task4.c b/testsuites/sptests/sp12/task4.c
index e27ddc35fe..2528dbec42 100644
--- a/testsuites/sptests/sp12/task4.c
+++ b/testsuites/sptests/sp12/task4.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_4(
diff --git a/testsuites/sptests/sp12/task5.c b/testsuites/sptests/sp12/task5.c
index 99b8e04e94..77553ab717 100644
--- a/testsuites/sptests/sp12/task5.c
+++ b/testsuites/sptests/sp12/task5.c
@@ -19,6 +19,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task5(
diff --git a/testsuites/sptests/sp13/fillbuff.c b/testsuites/sptests/sp13/fillbuff.c
index 003e5206ed..47bdc7e119 100644
--- a/testsuites/sptests/sp13/fillbuff.c
+++ b/testsuites/sptests/sp13/fillbuff.c
@@ -19,6 +19,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Fill_buffer(
diff --git a/testsuites/sptests/sp13/init.c b/testsuites/sptests/sp13/init.c
index 1c922e16de..ac5e776b4c 100644
--- a/testsuites/sptests/sp13/init.c
+++ b/testsuites/sptests/sp13/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp13/putbuff.c b/testsuites/sptests/sp13/putbuff.c
index d580db6532..86f3134536 100644
--- a/testsuites/sptests/sp13/putbuff.c
+++ b/testsuites/sptests/sp13/putbuff.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Put_buffer(
diff --git a/testsuites/sptests/sp13/task1.c b/testsuites/sptests/sp13/task1.c
index 036a11dd7e..f332ce1e4d 100644
--- a/testsuites/sptests/sp13/task1.c
+++ b/testsuites/sptests/sp13/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <string.h> /* for memcmp */
diff --git a/testsuites/sptests/sp13/task2.c b/testsuites/sptests/sp13/task2.c
index cfe8e7d4bc..a32608b717 100644
--- a/testsuites/sptests/sp13/task2.c
+++ b/testsuites/sptests/sp13/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp13/task3.c b/testsuites/sptests/sp13/task3.c
index c270bc85c9..1184d7af49 100644
--- a/testsuites/sptests/sp13/task3.c
+++ b/testsuites/sptests/sp13/task3.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_3(
diff --git a/testsuites/sptests/sp14/asr.c b/testsuites/sptests/sp14/asr.c
index a60fca9a84..7cec7a3b59 100644
--- a/testsuites/sptests/sp14/asr.c
+++ b/testsuites/sptests/sp14/asr.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include "tmacros.h"
diff --git a/testsuites/sptests/sp14/init.c b/testsuites/sptests/sp14/init.c
index 851cd71828..b26eee839f 100644
--- a/testsuites/sptests/sp14/init.c
+++ b/testsuites/sptests/sp14/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp14/task1.c b/testsuites/sptests/sp14/task1.c
index 39f3319f3a..dd78cfc008 100644
--- a/testsuites/sptests/sp14/task1.c
+++ b/testsuites/sptests/sp14/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_timer_service_routine Signal_3_to_task_1(
diff --git a/testsuites/sptests/sp14/task2.c b/testsuites/sptests/sp14/task2.c
index 7e7afae9d1..380ecd165f 100644
--- a/testsuites/sptests/sp14/task2.c
+++ b/testsuites/sptests/sp14/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp15/init.c b/testsuites/sptests/sp15/init.c
index e5ef35ac83..fb85506c93 100644
--- a/testsuites/sptests/sp15/init.c
+++ b/testsuites/sptests/sp15/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp15/task1.c b/testsuites/sptests/sp15/task1.c
index 80967c1fa6..e4409c5ff9 100644
--- a/testsuites/sptests/sp15/task1.c
+++ b/testsuites/sptests/sp15/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp16/init.c b/testsuites/sptests/sp16/init.c
index 1c9be322bd..098452aa3c 100644
--- a/testsuites/sptests/sp16/init.c
+++ b/testsuites/sptests/sp16/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp16/task1.c b/testsuites/sptests/sp16/task1.c
index 8303c12e01..a4b967da2e 100644
--- a/testsuites/sptests/sp16/task1.c
+++ b/testsuites/sptests/sp16/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp16/task2.c b/testsuites/sptests/sp16/task2.c
index 56eac8caaf..6c83b65e4f 100644
--- a/testsuites/sptests/sp16/task2.c
+++ b/testsuites/sptests/sp16/task2.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp16/task3.c b/testsuites/sptests/sp16/task3.c
index aecccd873c..ccfabb0c05 100644
--- a/testsuites/sptests/sp16/task3.c
+++ b/testsuites/sptests/sp16/task3.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_3(
diff --git a/testsuites/sptests/sp16/task4.c b/testsuites/sptests/sp16/task4.c
index 99f9536865..f06624a224 100644
--- a/testsuites/sptests/sp16/task4.c
+++ b/testsuites/sptests/sp16/task4.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_4(
diff --git a/testsuites/sptests/sp16/task5.c b/testsuites/sptests/sp16/task5.c
index f2362f1b18..834681d235 100644
--- a/testsuites/sptests/sp16/task5.c
+++ b/testsuites/sptests/sp16/task5.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task5(
diff --git a/testsuites/sptests/sp17/asr.c b/testsuites/sptests/sp17/asr.c
index a4c2c39fdb..c236fafea9 100644
--- a/testsuites/sptests/sp17/asr.c
+++ b/testsuites/sptests/sp17/asr.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_asr Process_asr(
diff --git a/testsuites/sptests/sp17/init.c b/testsuites/sptests/sp17/init.c
index e2353d581f..628aca6356 100644
--- a/testsuites/sptests/sp17/init.c
+++ b/testsuites/sptests/sp17/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp17/task1.c b/testsuites/sptests/sp17/task1.c
index 4726995cd5..b660911b96 100644
--- a/testsuites/sptests/sp17/task1.c
+++ b/testsuites/sptests/sp17/task1.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp17/task2.c b/testsuites/sptests/sp17/task2.c
index 0bdaca1b64..41a251f20c 100644
--- a/testsuites/sptests/sp17/task2.c
+++ b/testsuites/sptests/sp17/task2.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_2(
diff --git a/testsuites/sptests/sp18/init.c b/testsuites/sptests/sp18/init.c
index b8c3dab35d..dd8bd0b272 100644
--- a/testsuites/sptests/sp18/init.c
+++ b/testsuites/sptests/sp18/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Init(
diff --git a/testsuites/sptests/sp19/first.c b/testsuites/sptests/sp19/first.c
index 991470a905..cbee33d91c 100644
--- a/testsuites/sptests/sp19/first.c
+++ b/testsuites/sptests/sp19/first.c
@@ -19,6 +19,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include "fptest.h"
#include "inttest.h"
diff --git a/testsuites/sptests/sp19/fptask.c b/testsuites/sptests/sp19/fptask.c
index d3fdbeb9a4..d3acfce0c5 100644
--- a/testsuites/sptests/sp19/fptask.c
+++ b/testsuites/sptests/sp19/fptask.c
@@ -19,6 +19,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include "fptest.h"
#include "inttest.h"
diff --git a/testsuites/sptests/sp19/init.c b/testsuites/sptests/sp19/init.c
index a82f807843..9fd23986c5 100644
--- a/testsuites/sptests/sp19/init.c
+++ b/testsuites/sptests/sp19/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp19/task1.c b/testsuites/sptests/sp19/task1.c
index 38cba0ad64..1d261f3f25 100644
--- a/testsuites/sptests/sp19/task1.c
+++ b/testsuites/sptests/sp19/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include "inttest.h"
diff --git a/testsuites/sptests/sp20/getall.c b/testsuites/sptests/sp20/getall.c
index 35f6e1e494..7249d05105 100644
--- a/testsuites/sptests/sp20/getall.c
+++ b/testsuites/sptests/sp20/getall.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Get_all_counters()
diff --git a/testsuites/sptests/sp20/init.c b/testsuites/sptests/sp20/init.c
index 88b6fb0b90..242d89a2bd 100644
--- a/testsuites/sptests/sp20/init.c
+++ b/testsuites/sptests/sp20/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp20/task1.c b/testsuites/sptests/sp20/task1.c
index 680cba9f5f..e9de2658c6 100644
--- a/testsuites/sptests/sp20/task1.c
+++ b/testsuites/sptests/sp20/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
/*
diff --git a/testsuites/sptests/sp21/init.c b/testsuites/sptests/sp21/init.c
index 290de8be57..ed2649caa9 100644
--- a/testsuites/sptests/sp21/init.c
+++ b/testsuites/sptests/sp21/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <rtems/devnull.h>
diff --git a/testsuites/sptests/sp22/delay.c b/testsuites/sptests/sp22/delay.c
index eb1587bb62..8e3c291770 100644
--- a/testsuites/sptests/sp22/delay.c
+++ b/testsuites/sptests/sp22/delay.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_timer_service_routine Delayed_resume(
diff --git a/testsuites/sptests/sp22/init.c b/testsuites/sptests/sp22/init.c
index 6a3068bf1e..c04a4a22cb 100644
--- a/testsuites/sptests/sp22/init.c
+++ b/testsuites/sptests/sp22/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp22/prtime.c b/testsuites/sptests/sp22/prtime.c
index 77bb1515f0..5a11cbe796 100644
--- a/testsuites/sptests/sp22/prtime.c
+++ b/testsuites/sptests/sp22/prtime.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Print_time( void )
diff --git a/testsuites/sptests/sp22/task1.c b/testsuites/sptests/sp22/task1.c
index 5f8fbb1dca..ae16b69877 100644
--- a/testsuites/sptests/sp22/task1.c
+++ b/testsuites/sptests/sp22/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp23/init.c b/testsuites/sptests/sp23/init.c
index df9a5fcdd3..53da3a7fa9 100644
--- a/testsuites/sptests/sp23/init.c
+++ b/testsuites/sptests/sp23/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp23/task1.c b/testsuites/sptests/sp23/task1.c
index 57955277a1..ed0207495b 100644
--- a/testsuites/sptests/sp23/task1.c
+++ b/testsuites/sptests/sp23/task1.c
@@ -19,6 +19,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp24/init.c b/testsuites/sptests/sp24/init.c
index b21552d449..7b379b3e07 100644
--- a/testsuites/sptests/sp24/init.c
+++ b/testsuites/sptests/sp24/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp24/resume.c b/testsuites/sptests/sp24/resume.c
index 715390e16c..4395223550 100644
--- a/testsuites/sptests/sp24/resume.c
+++ b/testsuites/sptests/sp24/resume.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_timer_service_routine Resume_task(
diff --git a/testsuites/sptests/sp24/task1.c b/testsuites/sptests/sp24/task1.c
index 73544440c5..0e428ed01c 100644
--- a/testsuites/sptests/sp24/task1.c
+++ b/testsuites/sptests/sp24/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1_through_3(
diff --git a/testsuites/sptests/sp25/init.c b/testsuites/sptests/sp25/init.c
index f53617c006..daf928e4b3 100644
--- a/testsuites/sptests/sp25/init.c
+++ b/testsuites/sptests/sp25/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp25/task1.c b/testsuites/sptests/sp25/task1.c
index 1c0c1d76aa..e158153b52 100644
--- a/testsuites/sptests/sp25/task1.c
+++ b/testsuites/sptests/sp25/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/sp26/init.c b/testsuites/sptests/sp26/init.c
index b58fe94f5c..eca463165a 100644
--- a/testsuites/sptests/sp26/init.c
+++ b/testsuites/sptests/sp26/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp26/task1.c b/testsuites/sptests/sp26/task1.c
index 9349d28d0a..43636d3515 100644
--- a/testsuites/sptests/sp26/task1.c
+++ b/testsuites/sptests/sp26/task1.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <rtems.h>
#include <rtems/error.h>
diff --git a/testsuites/sptests/sp27/init.c b/testsuites/sptests/sp27/init.c
index 8a27cc1077..88f54bcf90 100644
--- a/testsuites/sptests/sp27/init.c
+++ b/testsuites/sptests/sp27/init.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <tmacros.h>
diff --git a/testsuites/sptests/sp28/init.c b/testsuites/sptests/sp28/init.c
index 520ffa4959..cb4ab0cac7 100644
--- a/testsuites/sptests/sp28/init.c
+++ b/testsuites/sptests/sp28/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <bsp.h>
diff --git a/testsuites/sptests/sp29/init.c b/testsuites/sptests/sp29/init.c
index e6d40701e4..001b6716e3 100644
--- a/testsuites/sptests/sp29/init.c
+++ b/testsuites/sptests/sp29/init.c
@@ -8,6 +8,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
rtems_task Init (rtems_task_argument argument);
diff --git a/testsuites/sptests/sp30/init.c b/testsuites/sptests/sp30/init.c
index dc35c34b56..6a9752074f 100644
--- a/testsuites/sptests/sp30/init.c
+++ b/testsuites/sptests/sp30/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp30/resume.c b/testsuites/sptests/sp30/resume.c
index f1f4c5a9f2..5582fe89a4 100644
--- a/testsuites/sptests/sp30/resume.c
+++ b/testsuites/sptests/sp30/resume.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_timer_service_routine Resume_task(
diff --git a/testsuites/sptests/sp30/task1.c b/testsuites/sptests/sp30/task1.c
index 4232657a08..6ebc87c2d8 100644
--- a/testsuites/sptests/sp30/task1.c
+++ b/testsuites/sptests/sp30/task1.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1_through_3(
diff --git a/testsuites/sptests/sp31/delay.c b/testsuites/sptests/sp31/delay.c
index 2cce662e47..db66d9075a 100644
--- a/testsuites/sptests/sp31/delay.c
+++ b/testsuites/sptests/sp31/delay.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_timer_service_routine Delayed_resume(
diff --git a/testsuites/sptests/sp31/init.c b/testsuites/sptests/sp31/init.c
index 64d1b998c8..78391fb3a4 100644
--- a/testsuites/sptests/sp31/init.c
+++ b/testsuites/sptests/sp31/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp31/prtime.c b/testsuites/sptests/sp31/prtime.c
index d9f6a63220..8e5b808617 100644
--- a/testsuites/sptests/sp31/prtime.c
+++ b/testsuites/sptests/sp31/prtime.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Print_time( void )
diff --git a/testsuites/sptests/sp31/task1.c b/testsuites/sptests/sp31/task1.c
index 29e9472004..f559395b62 100644
--- a/testsuites/sptests/sp31/task1.c
+++ b/testsuites/sptests/sp31/task1.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_timer_service_routine Should_not_fire_TSR(
diff --git a/testsuites/sptests/sp32/init.c b/testsuites/sptests/sp32/init.c
index d7df18c859..f6eb2270d8 100644
--- a/testsuites/sptests/sp32/init.c
+++ b/testsuites/sptests/sp32/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h> /* includes bsp.h, stdio, etc... */
rtems_task Init(
diff --git a/testsuites/sptests/sp33/init.c b/testsuites/sptests/sp33/init.c
index 5a4ec8850e..3dac704a53 100644
--- a/testsuites/sptests/sp33/init.c
+++ b/testsuites/sptests/sp33/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include <tmacros.h> /* includes bsp.h, stdio, etc... */
diff --git a/testsuites/sptests/sp34/changepri.c b/testsuites/sptests/sp34/changepri.c
index ef54b96da4..41ef4672ea 100644
--- a/testsuites/sptests/sp34/changepri.c
+++ b/testsuites/sptests/sp34/changepri.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <stdio.h>
diff --git a/testsuites/sptests/sp35/priinv.c b/testsuites/sptests/sp35/priinv.c
index 19362a9823..46818313f6 100644
--- a/testsuites/sptests/sp35/priinv.c
+++ b/testsuites/sptests/sp35/priinv.c
@@ -52,6 +52,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <stdio.h>
#include "tmacros.h"
diff --git a/testsuites/sptests/sp36/strict_order_mut.c b/testsuites/sptests/sp36/strict_order_mut.c
index 7720837ba2..6a545623bd 100644
--- a/testsuites/sptests/sp36/strict_order_mut.c
+++ b/testsuites/sptests/sp36/strict_order_mut.c
@@ -6,6 +6,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <stdio.h>
#include "tmacros.h"
diff --git a/testsuites/sptests/sp37/init.c b/testsuites/sptests/sp37/init.c
index 28d214df7b..824e2739ed 100644
--- a/testsuites/sptests/sp37/init.c
+++ b/testsuites/sptests/sp37/init.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp38/init.c b/testsuites/sptests/sp38/init.c
index cf3b99b257..b99a65f4ea 100644
--- a/testsuites/sptests/sp38/init.c
+++ b/testsuites/sptests/sp38/init.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp39/init.c b/testsuites/sptests/sp39/init.c
index 6d01a8ae84..482ee8e6b8 100644
--- a/testsuites/sptests/sp39/init.c
+++ b/testsuites/sptests/sp39/init.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp40/init.c b/testsuites/sptests/sp40/init.c
index db916e4f37..b96ec5430f 100644
--- a/testsuites/sptests/sp40/init.c
+++ b/testsuites/sptests/sp40/init.c
@@ -15,6 +15,10 @@
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
static rtems_device_driver test_open(
diff --git a/testsuites/sptests/sp41/init.c b/testsuites/sptests/sp41/init.c
index b28ec433c6..b3b4742d31 100644
--- a/testsuites/sptests/sp41/init.c
+++ b/testsuites/sptests/sp41/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <tmacros.h>
diff --git a/testsuites/sptests/sp42/init.c b/testsuites/sptests/sp42/init.c
index 12ccce06dd..82d197aebf 100644
--- a/testsuites/sptests/sp42/init.c
+++ b/testsuites/sptests/sp42/init.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/testsuites/sptests/sp43/init.c b/testsuites/sptests/sp43/init.c
index dc3435db17..39fff36208 100644
--- a/testsuites/sptests/sp43/init.c
+++ b/testsuites/sptests/sp43/init.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/sp44/init.c b/testsuites/sptests/sp44/init.c
index fc9d60b671..057a3a635d 100644
--- a/testsuites/sptests/sp44/init.c
+++ b/testsuites/sptests/sp44/init.c
@@ -27,6 +27,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <rtems.h>
#include <stdio.h>
diff --git a/testsuites/sptests/sp45/init.c b/testsuites/sptests/sp45/init.c
index 576c1f7532..6ec2808eb5 100644
--- a/testsuites/sptests/sp45/init.c
+++ b/testsuites/sptests/sp45/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Init(
diff --git a/testsuites/sptests/sp46/init.c b/testsuites/sptests/sp46/init.c
index 0e8ca48b3a..98f7d04d5f 100644
--- a/testsuites/sptests/sp46/init.c
+++ b/testsuites/sptests/sp46/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <rtems/cpuuse.h>
diff --git a/testsuites/sptests/sp47/init.c b/testsuites/sptests/sp47/init.c
index 753005bcde..953a597eef 100644
--- a/testsuites/sptests/sp47/init.c
+++ b/testsuites/sptests/sp47/init.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#define PRIXModes_Control PRIX32
diff --git a/testsuites/sptests/sp48/init.c b/testsuites/sptests/sp48/init.c
index dd2b37a2b3..4ba99002e8 100644
--- a/testsuites/sptests/sp48/init.c
+++ b/testsuites/sptests/sp48/init.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <rtems/libcsupport.h>
diff --git a/testsuites/sptests/sp49/init.c b/testsuites/sptests/sp49/init.c
index 52b58a4ab8..479c1bbdcf 100644
--- a/testsuites/sptests/sp49/init.c
+++ b/testsuites/sptests/sp49/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Init(rtems_task_argument ignored)
diff --git a/testsuites/sptests/sp50/init.c b/testsuites/sptests/sp50/init.c
index f91bcf45e4..161fe1fe4e 100644
--- a/testsuites/sptests/sp50/init.c
+++ b/testsuites/sptests/sp50/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
volatile int Fired;
diff --git a/testsuites/sptests/sp51/init.c b/testsuites/sptests/sp51/init.c
index 8f34cab5c7..0413272f52 100644
--- a/testsuites/sptests/sp51/init.c
+++ b/testsuites/sptests/sp51/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Init(
diff --git a/testsuites/sptests/sp52/init.c b/testsuites/sptests/sp52/init.c
index 67218524fe..44698e9ecc 100644
--- a/testsuites/sptests/sp52/init.c
+++ b/testsuites/sptests/sp52/init.c
@@ -23,6 +23,10 @@
#define FIRE_WHEN_STRING "rtems_timer_fire_when"
#endif
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#define INITIAL_SECOND 10
diff --git a/testsuites/sptests/sp54/init.c b/testsuites/sptests/sp54/init.c
index 6cc5e4e9e6..0fdefe3dc3 100644
--- a/testsuites/sptests/sp54/init.c
+++ b/testsuites/sptests/sp54/init.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Init(
diff --git a/testsuites/sptests/sp55/init.c b/testsuites/sptests/sp55/init.c
index 4a2b556b24..46ebdccddd 100644
--- a/testsuites/sptests/sp55/init.c
+++ b/testsuites/sptests/sp55/init.c
@@ -10,6 +10,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Init(
diff --git a/testsuites/sptests/sp56/init.c b/testsuites/sptests/sp56/init.c
index 8cf5af5c62..7c8c4738a0 100644
--- a/testsuites/sptests/sp56/init.c
+++ b/testsuites/sptests/sp56/init.c
@@ -10,6 +10,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
bool task_create(
diff --git a/testsuites/sptests/sp57/init.c b/testsuites/sptests/sp57/init.c
index f44313000a..3938d1b439 100644
--- a/testsuites/sptests/sp57/init.c
+++ b/testsuites/sptests/sp57/init.c
@@ -10,6 +10,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Delay_task(
diff --git a/testsuites/sptests/sp58/init.c b/testsuites/sptests/sp58/init.c
index a7adaf99c4..973870b1d6 100644
--- a/testsuites/sptests/sp58/init.c
+++ b/testsuites/sptests/sp58/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <sys/types.h>
diff --git a/testsuites/sptests/sp59/init.c b/testsuites/sptests/sp59/init.c
index 0d2683a7ba..6e0e91d9a1 100644
--- a/testsuites/sptests/sp59/init.c
+++ b/testsuites/sptests/sp59/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#define ALLOC_SIZE 400
diff --git a/testsuites/sptests/sp60/init.c b/testsuites/sptests/sp60/init.c
index d89bd502fc..e1c3fb2a1f 100644
--- a/testsuites/sptests/sp60/init.c
+++ b/testsuites/sptests/sp60/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Init(
diff --git a/testsuites/sptests/sp62/init.c b/testsuites/sptests/sp62/init.c
index 0ec8a1c4ec..83799f4330 100644
--- a/testsuites/sptests/sp62/init.c
+++ b/testsuites/sptests/sp62/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <unistd.h>
diff --git a/testsuites/sptests/sp63/init.c b/testsuites/sptests/sp63/init.c
index d461a4bf10..2420bfb13c 100644
--- a/testsuites/sptests/sp63/init.c
+++ b/testsuites/sptests/sp63/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#define MAX 256
diff --git a/testsuites/sptests/sp64/init.c b/testsuites/sptests/sp64/init.c
index 2db29a1f4c..f9b2968cb2 100644
--- a/testsuites/sptests/sp64/init.c
+++ b/testsuites/sptests/sp64/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
uint32_t Area1[50] CPU_STRUCTURE_ALIGNMENT;
diff --git a/testsuites/sptests/sp65/init.c b/testsuites/sptests/sp65/init.c
index 288d4e059b..09a1430fe6 100644
--- a/testsuites/sptests/sp65/init.c
+++ b/testsuites/sptests/sp65/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <unistd.h>
diff --git a/testsuites/sptests/sp66/init.c b/testsuites/sptests/sp66/init.c
index 9aee9d0f1e..8ec0287f9c 100644
--- a/testsuites/sptests/sp66/init.c
+++ b/testsuites/sptests/sp66/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Task_1(
diff --git a/testsuites/sptests/sp67/init.c b/testsuites/sptests/sp67/init.c
index b9c3051c5d..2656e4e4e0 100644
--- a/testsuites/sptests/sp67/init.c
+++ b/testsuites/sptests/sp67/init.c
@@ -12,6 +12,10 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
/*
diff --git a/testsuites/sptests/sp68/init.c b/testsuites/sptests/sp68/init.c
index 3318f8a969..0360f47e05 100644
--- a/testsuites/sptests/sp68/init.c
+++ b/testsuites/sptests/sp68/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#define TIMER_COUNT 6
diff --git a/testsuites/sptests/sp69/init.c b/testsuites/sptests/sp69/init.c
index 3cb0fc9d2b..ebd87f5ad9 100644
--- a/testsuites/sptests/sp69/init.c
+++ b/testsuites/sptests/sp69/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/cpuuse.h>
#include <tmacros.h>
#include "test_support.h"
diff --git a/testsuites/sptests/sp70/init.c b/testsuites/sptests/sp70/init.c
index a574467601..55c9fee09d 100644
--- a/testsuites/sptests/sp70/init.c
+++ b/testsuites/sptests/sp70/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/sptests/sp71/init.c b/testsuites/sptests/sp71/init.c
index 954f21c191..ad7f076811 100644
--- a/testsuites/sptests/sp71/init.c
+++ b/testsuites/sptests/sp71/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/sptests/sp72/init.c b/testsuites/sptests/sp72/init.c
index 46e290a42f..fe41e92194 100644
--- a/testsuites/sptests/sp72/init.c
+++ b/testsuites/sptests/sp72/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/sptests/spassoc01/init.c b/testsuites/sptests/spassoc01/init.c
index 97f96b240a..bbd6cf2a1d 100644
--- a/testsuites/sptests/spassoc01/init.c
+++ b/testsuites/sptests/spassoc01/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/sptests/spchain/init.c b/testsuites/sptests/spchain/init.c
index 57564eaadc..b40d619b68 100644
--- a/testsuites/sptests/spchain/init.c
+++ b/testsuites/sptests/spchain/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <rtems/chain.h>
diff --git a/testsuites/sptests/spclockget/init.c b/testsuites/sptests/spclockget/init.c
index 7c9533fa98..a2648ebd18 100644
--- a/testsuites/sptests/spclockget/init.c
+++ b/testsuites/sptests/spclockget/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
rtems_task Init(
diff --git a/testsuites/sptests/spcoverage/init.c b/testsuites/sptests/spcoverage/init.c
index 631b7b7392..4b75808553 100644
--- a/testsuites/sptests/spcoverage/init.c
+++ b/testsuites/sptests/spcoverage/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
rtems_task Init(
diff --git a/testsuites/sptests/sperror01/init.c b/testsuites/sptests/sperror01/init.c
index aedb87f7cf..341a3d9379 100644
--- a/testsuites/sptests/sperror01/init.c
+++ b/testsuites/sptests/sperror01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include "rtems/error.h"
diff --git a/testsuites/sptests/sperror02/init.c b/testsuites/sptests/sperror02/init.c
index 3350009aed..393dc447d3 100644
--- a/testsuites/sptests/sperror02/init.c
+++ b/testsuites/sptests/sperror02/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/sptests/sperror03/init.c b/testsuites/sptests/sperror03/init.c
index b09befb024..1b6f659e45 100644
--- a/testsuites/sptests/sperror03/init.c
+++ b/testsuites/sptests/sperror03/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/sptests/spfatal_support/consume_sems.c b/testsuites/sptests/spfatal_support/consume_sems.c
index b0fcc420a8..387e82fd69 100644
--- a/testsuites/sptests/spfatal_support/consume_sems.c
+++ b/testsuites/sptests/spfatal_support/consume_sems.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems.h>
#define MAXIMUM 20
diff --git a/testsuites/sptests/spfatal_support/init.c b/testsuites/sptests/spfatal_support/init.c
index 07fe3e88d1..7a3b244078 100644
--- a/testsuites/sptests/spfatal_support/init.c
+++ b/testsuites/sptests/spfatal_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/sptests/spfifo01/init.c b/testsuites/sptests/spfifo01/init.c
index c7d3604568..dc5f9750b4 100644
--- a/testsuites/sptests/spfifo01/init.c
+++ b/testsuites/sptests/spfifo01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/stat.h>
#include <stdio.h>
diff --git a/testsuites/sptests/spfifo02/init.c b/testsuites/sptests/spfifo02/init.c
index dab28a05fa..8526d0cde6 100644
--- a/testsuites/sptests/spfifo02/init.c
+++ b/testsuites/sptests/spfifo02/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/sptests/spfifo03/init.c b/testsuites/sptests/spfifo03/init.c
index 610c328165..91626f2cb9 100644
--- a/testsuites/sptests/spfifo03/init.c
+++ b/testsuites/sptests/spfifo03/init.c
@@ -19,7 +19,10 @@
* $Id$
*/
-/* Includes */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <tmacros.h>
#include <stdio.h>
diff --git a/testsuites/sptests/spfifo04/init.c b/testsuites/sptests/spfifo04/init.c
index 3bcdef09e3..628d9808a5 100644
--- a/testsuites/sptests/spfifo04/init.c
+++ b/testsuites/sptests/spfifo04/init.c
@@ -9,7 +9,10 @@
* $Id$
*/
-/* Includes */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <tmacros.h>
#include <stdio.h>
diff --git a/testsuites/sptests/spfifo05/init.c b/testsuites/sptests/spfifo05/init.c
index 8c2b9f8649..36094e17e4 100644
--- a/testsuites/sptests/spfifo05/init.c
+++ b/testsuites/sptests/spfifo05/init.c
@@ -9,7 +9,10 @@
* $Id$
*/
-/* Includes */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <tmacros.h>
#include <stdio.h>
diff --git a/testsuites/sptests/spheapprot/init.c b/testsuites/sptests/spheapprot/init.c
index c0f6cdda30..7ee7acaa24 100644
--- a/testsuites/sptests/spheapprot/init.c
+++ b/testsuites/sptests/spheapprot/init.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/testsuites/sptests/spintrcritical01/init.c b/testsuites/sptests/spintrcritical01/init.c
index 2d8c372a8e..d046702c5f 100644
--- a/testsuites/sptests/spintrcritical01/init.c
+++ b/testsuites/sptests/spintrcritical01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical06/init.c b/testsuites/sptests/spintrcritical06/init.c
index aad47dd0f7..34a65a172d 100644
--- a/testsuites/sptests/spintrcritical06/init.c
+++ b/testsuites/sptests/spintrcritical06/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical08/init.c b/testsuites/sptests/spintrcritical08/init.c
index 66c2875c6e..ea5366c48c 100644
--- a/testsuites/sptests/spintrcritical08/init.c
+++ b/testsuites/sptests/spintrcritical08/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical09/init.c b/testsuites/sptests/spintrcritical09/init.c
index 7ac6e1f1e7..497fae2092 100644
--- a/testsuites/sptests/spintrcritical09/init.c
+++ b/testsuites/sptests/spintrcritical09/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical10/init.c b/testsuites/sptests/spintrcritical10/init.c
index edbf61003e..66e8e2fa18 100644
--- a/testsuites/sptests/spintrcritical10/init.c
+++ b/testsuites/sptests/spintrcritical10/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical11/init.c b/testsuites/sptests/spintrcritical11/init.c
index 59327681a6..40b748ca58 100644
--- a/testsuites/sptests/spintrcritical11/init.c
+++ b/testsuites/sptests/spintrcritical11/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical13/init.c b/testsuites/sptests/spintrcritical13/init.c
index 5d1c2456d6..dc53938b9b 100644
--- a/testsuites/sptests/spintrcritical13/init.c
+++ b/testsuites/sptests/spintrcritical13/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical15/init.c b/testsuites/sptests/spintrcritical15/init.c
index aebb6772c5..4a4f2fe012 100644
--- a/testsuites/sptests/spintrcritical15/init.c
+++ b/testsuites/sptests/spintrcritical15/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical16/init.c b/testsuites/sptests/spintrcritical16/init.c
index cd2093050b..51b27fbb47 100644
--- a/testsuites/sptests/spintrcritical16/init.c
+++ b/testsuites/sptests/spintrcritical16/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical17/init.c b/testsuites/sptests/spintrcritical17/init.c
index 41752c5851..34d17009d0 100644
--- a/testsuites/sptests/spintrcritical17/init.c
+++ b/testsuites/sptests/spintrcritical17/init.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical_support/intrcritical.c b/testsuites/sptests/spintrcritical_support/intrcritical.c
index 08390a3d27..39ef6e4761 100644
--- a/testsuites/sptests/spintrcritical_support/intrcritical.c
+++ b/testsuites/sptests/spintrcritical_support/intrcritical.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spmkdir/init.c b/testsuites/sptests/spmkdir/init.c
index ffed9d2b3c..31f958b7b6 100644
--- a/testsuites/sptests/spmkdir/init.c
+++ b/testsuites/sptests/spmkdir/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/testsuites/sptests/spmountmgr01/init.c b/testsuites/sptests/spmountmgr01/init.c
index 890fa4a137..129e7a9642 100644
--- a/testsuites/sptests/spmountmgr01/init.c
+++ b/testsuites/sptests/spmountmgr01/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/sptests/spnotepad01/init.c b/testsuites/sptests/spnotepad01/init.c
index 2c66004d25..73fd1fce0c 100644
--- a/testsuites/sptests/spnotepad01/init.c
+++ b/testsuites/sptests/spnotepad01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tmacros.h"
rtems_task Init(
diff --git a/testsuites/sptests/spobjgetnext/init.c b/testsuites/sptests/spobjgetnext/init.c
index 9c5161367b..48cbfb802e 100644
--- a/testsuites/sptests/spobjgetnext/init.c
+++ b/testsuites/sptests/spobjgetnext/init.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include "system.h"
diff --git a/testsuites/sptests/spprintk/init.c b/testsuites/sptests/spprintk/init.c
index 8ff4711652..495a384479 100644
--- a/testsuites/sptests/spprintk/init.c
+++ b/testsuites/sptests/spprintk/init.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <rtems/bspIo.h>
diff --git a/testsuites/sptests/spprivenv01/init.c b/testsuites/sptests/spprivenv01/init.c
index af92bef271..ed6270d692 100644
--- a/testsuites/sptests/spprivenv01/init.c
+++ b/testsuites/sptests/spprivenv01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include "test_support.h"
#include <rtems/libio_.h>
diff --git a/testsuites/sptests/spsize/getint.c b/testsuites/sptests/spsize/getint.c
index 0bf9215670..a95cc6ab5f 100644
--- a/testsuites/sptests/spsize/getint.c
+++ b/testsuites/sptests/spsize/getint.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/testsuites/sptests/spsize/init.c b/testsuites/sptests/spsize/init.c
index d543f0fe92..864cfa1f13 100644
--- a/testsuites/sptests/spsize/init.c
+++ b/testsuites/sptests/spsize/init.c
@@ -21,6 +21,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c
index 6bbcea02f6..bd14268f7e 100644
--- a/testsuites/sptests/spsize/size.c
+++ b/testsuites/sptests/spsize/size.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/config.h>
#include <rtems/score/apiext.h>
diff --git a/testsuites/sptests/spstkalloc/init.c b/testsuites/sptests/spstkalloc/init.c
index 5c48770f96..e7a388cec9 100644
--- a/testsuites/sptests/spstkalloc/init.c
+++ b/testsuites/sptests/spstkalloc/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#define MAXIMUM_STACKS 3
diff --git a/testsuites/sptests/spthreadq01/init.c b/testsuites/sptests/spthreadq01/init.c
index 1d725af0d9..173e8ff36a 100644
--- a/testsuites/sptests/spthreadq01/init.c
+++ b/testsuites/sptests/spthreadq01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>
#include <sys/types.h>
diff --git a/testsuites/sptests/spwatchdog/delay.c b/testsuites/sptests/spwatchdog/delay.c
index eb1587bb62..8e3c291770 100644
--- a/testsuites/sptests/spwatchdog/delay.c
+++ b/testsuites/sptests/spwatchdog/delay.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_timer_service_routine Delayed_resume(
diff --git a/testsuites/sptests/spwatchdog/init.c b/testsuites/sptests/spwatchdog/init.c
index 3129aff6e9..165987fc0a 100644
--- a/testsuites/sptests/spwatchdog/init.c
+++ b/testsuites/sptests/spwatchdog/init.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/sptests/spwatchdog/prtime.c b/testsuites/sptests/spwatchdog/prtime.c
index 77bb1515f0..5a11cbe796 100644
--- a/testsuites/sptests/spwatchdog/prtime.c
+++ b/testsuites/sptests/spwatchdog/prtime.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
void Print_time( void )
diff --git a/testsuites/sptests/spwatchdog/task1.c b/testsuites/sptests/spwatchdog/task1.c
index c0a38a6f34..bfbf2da5f5 100644
--- a/testsuites/sptests/spwatchdog/task1.c
+++ b/testsuites/sptests/spwatchdog/task1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Task_1(
diff --git a/testsuites/sptests/spwkspace/init.c b/testsuites/sptests/spwkspace/init.c
index 9dbbe9a112..a2ad1fe9f6 100644
--- a/testsuites/sptests/spwkspace/init.c
+++ b/testsuites/sptests/spwkspace/init.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tmacros.h>