summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-22 10:58:44 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-22 10:58:44 +0000
commite3135514a833b0b2ca5798491f521be3f0e61daa (patch)
tree9cf7412ed94d00c684275211a5bd9220612385c5 /testsuites
parent571ccfc82792a5bbee6e617c63b52077fb066416 (diff)
downloadrtems-e3135514a833b0b2ca5798491f521be3f0e61daa.tar.bz2
Add HAVE_CONFIG_H.
Diffstat (limited to '')
-rw-r--r--testsuites/psxtmtests/psxtmmutex02/init.c4
-rw-r--r--testsuites/psxtmtests/psxtmthread01/init.c4
-rw-r--r--testsuites/psxtmtests/psxtmthread03/init.c4
-rw-r--r--testsuites/samples/base_mp/apptask.c4
-rw-r--r--testsuites/samples/base_mp/init.c4
-rw-r--r--testsuites/samples/base_sp/apptask.c4
-rw-r--r--testsuites/samples/base_sp/init.c4
-rw-r--r--testsuites/samples/capture/init.c4
-rw-r--r--testsuites/samples/capture/test1.c4
-rw-r--r--testsuites/samples/cdtest/init.c4
-rw-r--r--testsuites/samples/fileio/init.c4
-rw-r--r--testsuites/samples/hello/init.c4
-rw-r--r--testsuites/samples/loopback/init.c4
-rw-r--r--testsuites/samples/minimum/init.c4
-rw-r--r--testsuites/samples/nsecs/empty.c4
-rw-r--r--testsuites/samples/nsecs/init.c4
-rw-r--r--testsuites/samples/paranoia/init.c4
-rw-r--r--testsuites/samples/paranoia/paranoia.c4
-rw-r--r--testsuites/samples/pppd/init.c4
-rw-r--r--testsuites/samples/pppd/pppdapp.c4
-rw-r--r--testsuites/samples/ticker/init.c4
-rw-r--r--testsuites/samples/ticker/tasks.c4
-rw-r--r--testsuites/samples/unlimited/init.c4
-rw-r--r--testsuites/samples/unlimited/test1.c4
-rw-r--r--testsuites/samples/unlimited/test2.c4
-rw-r--r--testsuites/samples/unlimited/test3.c4
26 files changed, 104 insertions, 0 deletions
diff --git a/testsuites/psxtmtests/psxtmmutex02/init.c b/testsuites/psxtmtests/psxtmmutex02/init.c
index c0554eec4b..64c79a582b 100644
--- a/testsuites/psxtmtests/psxtmmutex02/init.c
+++ b/testsuites/psxtmtests/psxtmmutex02/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <coverhd.h>
#include <tmacros.h>
#include <timesys.h>
diff --git a/testsuites/psxtmtests/psxtmthread01/init.c b/testsuites/psxtmtests/psxtmthread01/init.c
index 97a4a49a30..898220a4e8 100644
--- a/testsuites/psxtmtests/psxtmthread01/init.c
+++ b/testsuites/psxtmtests/psxtmthread01/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <coverhd.h>
#include <tmacros.h>
#include <timesys.h>
diff --git a/testsuites/psxtmtests/psxtmthread03/init.c b/testsuites/psxtmtests/psxtmthread03/init.c
index 55b21d16f0..2516ce972e 100644
--- a/testsuites/psxtmtests/psxtmthread03/init.c
+++ b/testsuites/psxtmtests/psxtmthread03/init.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <coverhd.h>
#include <tmacros.h>
#include <timesys.h>
diff --git a/testsuites/samples/base_mp/apptask.c b/testsuites/samples/base_mp/apptask.c
index 4b401c7a79..654f465af0 100644
--- a/testsuites/samples/base_mp/apptask.c
+++ b/testsuites/samples/base_mp/apptask.c
@@ -19,6 +19,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/testsuites/samples/base_mp/init.c b/testsuites/samples/base_mp/init.c
index ac0dc3716a..f241eac776 100644
--- a/testsuites/samples/base_mp/init.c
+++ b/testsuites/samples/base_mp/init.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <stdio.h>
diff --git a/testsuites/samples/base_sp/apptask.c b/testsuites/samples/base_sp/apptask.c
index 6b7d1db0c9..7ea6acd740 100644
--- a/testsuites/samples/base_sp/apptask.c
+++ b/testsuites/samples/base_sp/apptask.c
@@ -18,6 +18,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include "tmacros.h"
diff --git a/testsuites/samples/base_sp/init.c b/testsuites/samples/base_sp/init.c
index 24d4e93b6e..3d30d16d3f 100644
--- a/testsuites/samples/base_sp/init.c
+++ b/testsuites/samples/base_sp/init.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <stdio.h>
diff --git a/testsuites/samples/capture/init.c b/testsuites/samples/capture/init.c
index 878051f08f..dedc0b784a 100644
--- a/testsuites/samples/capture/init.c
+++ b/testsuites/samples/capture/init.c
@@ -22,6 +22,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/testsuites/samples/capture/test1.c b/testsuites/samples/capture/test1.c
index a3ce4e274e..5f499bd23c 100644
--- a/testsuites/samples/capture/test1.c
+++ b/testsuites/samples/capture/test1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/testsuites/samples/cdtest/init.c b/testsuites/samples/cdtest/init.c
index b2bed90f86..00240813e8 100644
--- a/testsuites/samples/cdtest/init.c
+++ b/testsuites/samples/cdtest/init.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <stdio.h>
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
index 0559f91016..5a09f217d6 100644
--- a/testsuites/samples/fileio/init.c
+++ b/testsuites/samples/fileio/init.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <stdio.h>
diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c
index 88f1dfb450..8874030092 100644
--- a/testsuites/samples/hello/init.c
+++ b/testsuites/samples/hello/init.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h> /* for device driver prototypes */
#include <stdio.h>
diff --git a/testsuites/samples/loopback/init.c b/testsuites/samples/loopback/init.c
index 03dfad0d4f..9df895f45e 100644
--- a/testsuites/samples/loopback/init.c
+++ b/testsuites/samples/loopback/init.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
diff --git a/testsuites/samples/minimum/init.c b/testsuites/samples/minimum/init.c
index 24b38b2e21..d556458b01 100644
--- a/testsuites/samples/minimum/init.c
+++ b/testsuites/samples/minimum/init.c
@@ -12,6 +12,10 @@
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <rtems/score/thread.h>
diff --git a/testsuites/samples/nsecs/empty.c b/testsuites/samples/nsecs/empty.c
index 8600ec9f8f..1713c4557f 100644
--- a/testsuites/samples/nsecs/empty.c
+++ b/testsuites/samples/nsecs/empty.c
@@ -8,6 +8,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* put here hoping it won't get inlined */
void dummy_function_empty_body_to_force_call(void) {}
diff --git a/testsuites/samples/nsecs/init.c b/testsuites/samples/nsecs/init.c
index 222423f827..35b96d8a7b 100644
--- a/testsuites/samples/nsecs/init.c
+++ b/testsuites/samples/nsecs/init.c
@@ -14,6 +14,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems.h>
#include <inttypes.h>
#include <stdio.h>
diff --git a/testsuites/samples/paranoia/init.c b/testsuites/samples/paranoia/init.c
index e2413ac577..75e4107bf6 100644
--- a/testsuites/samples/paranoia/init.c
+++ b/testsuites/samples/paranoia/init.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
#include <stdio.h>
diff --git a/testsuites/samples/paranoia/paranoia.c b/testsuites/samples/paranoia/paranoia.c
index f97db69706..a3da531be8 100644
--- a/testsuites/samples/paranoia/paranoia.c
+++ b/testsuites/samples/paranoia/paranoia.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#if !BSP_SMALL_MEMORY
/*
diff --git a/testsuites/samples/pppd/init.c b/testsuites/samples/pppd/init.c
index cf0d134710..21da3f5199 100644
--- a/testsuites/samples/pppd/init.c
+++ b/testsuites/samples/pppd/init.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/testsuites/samples/pppd/pppdapp.c b/testsuites/samples/pppd/pppdapp.c
index 7100a06df0..529912ae28 100644
--- a/testsuites/samples/pppd/pppdapp.c
+++ b/testsuites/samples/pppd/pppdapp.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
diff --git a/testsuites/samples/ticker/init.c b/testsuites/samples/ticker/init.c
index 1715adefc0..55f5e2ea13 100644
--- a/testsuites/samples/ticker/init.c
+++ b/testsuites/samples/ticker/init.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/samples/ticker/tasks.c b/testsuites/samples/ticker/tasks.c
index 2d6c2e0f8e..a1f6d34584 100644
--- a/testsuites/samples/ticker/tasks.c
+++ b/testsuites/samples/ticker/tasks.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "system.h"
rtems_task Test_task(
diff --git a/testsuites/samples/unlimited/init.c b/testsuites/samples/unlimited/init.c
index 117bfd792e..27e6ca0104 100644
--- a/testsuites/samples/unlimited/init.c
+++ b/testsuites/samples/unlimited/init.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/samples/unlimited/test1.c b/testsuites/samples/unlimited/test1.c
index ed2f910b63..9bb2d5ddbd 100644
--- a/testsuites/samples/unlimited/test1.c
+++ b/testsuites/samples/unlimited/test1.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/testsuites/samples/unlimited/test2.c b/testsuites/samples/unlimited/test2.c
index 4eda66da29..ede41b7347 100644
--- a/testsuites/samples/unlimited/test2.c
+++ b/testsuites/samples/unlimited/test2.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/testsuites/samples/unlimited/test3.c b/testsuites/samples/unlimited/test3.c
index 7ec8c3208f..67489064ae 100644
--- a/testsuites/samples/unlimited/test3.c
+++ b/testsuites/samples/unlimited/test3.c
@@ -20,6 +20,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>