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