From e3135514a833b0b2ca5798491f521be3f0e61daa Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 22 Feb 2011 10:58:44 +0000 Subject: Add HAVE_CONFIG_H. --- testsuites/psxtmtests/psxtmmutex02/init.c | 4 ++++ testsuites/psxtmtests/psxtmthread01/init.c | 4 ++++ testsuites/psxtmtests/psxtmthread03/init.c | 4 ++++ testsuites/samples/base_mp/apptask.c | 4 ++++ testsuites/samples/base_mp/init.c | 4 ++++ testsuites/samples/base_sp/apptask.c | 4 ++++ testsuites/samples/base_sp/init.c | 4 ++++ testsuites/samples/capture/init.c | 4 ++++ testsuites/samples/capture/test1.c | 4 ++++ testsuites/samples/cdtest/init.c | 4 ++++ testsuites/samples/fileio/init.c | 4 ++++ testsuites/samples/hello/init.c | 4 ++++ testsuites/samples/loopback/init.c | 4 ++++ testsuites/samples/minimum/init.c | 4 ++++ testsuites/samples/nsecs/empty.c | 4 ++++ testsuites/samples/nsecs/init.c | 4 ++++ testsuites/samples/paranoia/init.c | 4 ++++ testsuites/samples/paranoia/paranoia.c | 4 ++++ testsuites/samples/pppd/init.c | 4 ++++ testsuites/samples/pppd/pppdapp.c | 4 ++++ testsuites/samples/ticker/init.c | 4 ++++ testsuites/samples/ticker/tasks.c | 4 ++++ testsuites/samples/unlimited/init.c | 4 ++++ testsuites/samples/unlimited/test1.c | 4 ++++ testsuites/samples/unlimited/test2.c | 4 ++++ testsuites/samples/unlimited/test3.c | 4 ++++ 26 files changed, 104 insertions(+) (limited to 'testsuites') 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 #include #include 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 #include #include 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 #include #include 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 #include 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 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 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 #include 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 #include 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 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 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 /* for device driver prototypes */ #include 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 #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 #include 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 #include #include 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 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 #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 #include 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 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 #include #include 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 #include #include 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 #include #include -- cgit v1.2.3