summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-01-27 05:57:05 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-01-27 05:57:05 +0000
commita8eed2387c28bb56ada10f815874cc55b8d820a5 (patch)
tree88a38afe4060bea6f2c179f87ff8cfce6e359d11 /cpukit/score
parent2005-01-26 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-a8eed2387c28bb56ada10f815874cc55b8d820a5.tar.bz2
Include config.h.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/src/apiext.c3
-rw-r--r--cpukit/score/src/chain.c4
-rw-r--r--cpukit/score/src/coremsg.c4
-rw-r--r--cpukit/score/src/coremsgbroadcast.c4
-rw-r--r--cpukit/score/src/coremsgclose.c4
-rw-r--r--cpukit/score/src/coremsgflush.c4
-rw-r--r--cpukit/score/src/coremsgflushsupp.c4
-rw-r--r--cpukit/score/src/coremsgflushwait.c4
-rw-r--r--cpukit/score/src/coremsginsert.c4
-rw-r--r--cpukit/score/src/coremsgseize.c4
-rw-r--r--cpukit/score/src/coremsgsubmit.c4
-rw-r--r--cpukit/score/src/coremutex.c4
-rw-r--r--cpukit/score/src/coremutexflush.c4
-rw-r--r--cpukit/score/src/coremutexseize.c4
-rw-r--r--cpukit/score/src/coremutexsurrender.c4
-rw-r--r--cpukit/score/src/coresem.c4
-rw-r--r--cpukit/score/src/coresemflush.c4
-rw-r--r--cpukit/score/src/coresemseize.c4
-rw-r--r--cpukit/score/src/coresemsurrender.c4
-rw-r--r--cpukit/score/src/coretod.c4
-rw-r--r--cpukit/score/src/coretodset.c4
-rw-r--r--cpukit/score/src/coretodtickle.c4
-rw-r--r--cpukit/score/src/coretodtoseconds.c4
-rw-r--r--cpukit/score/src/coretodvalidate.c4
-rw-r--r--cpukit/score/src/heap.c6
-rw-r--r--cpukit/score/src/heapallocate.c3
-rw-r--r--cpukit/score/src/heapallocatealigned.c4
-rw-r--r--cpukit/score/src/heapextend.c3
-rw-r--r--cpukit/score/src/heapfree.c3
-rw-r--r--cpukit/score/src/heapgetfreeinfo.c3
-rw-r--r--cpukit/score/src/heapgetinfo.c4
-rw-r--r--cpukit/score/src/heapsizeofuserarea.c3
-rw-r--r--cpukit/score/src/heapwalk.c3
-rw-r--r--cpukit/score/src/interr.c4
-rw-r--r--cpukit/score/src/isr.c4
-rw-r--r--cpukit/score/src/iterateoverthreads.c4
-rw-r--r--cpukit/score/src/mpci.c4
-rw-r--r--cpukit/score/src/object.c4
-rw-r--r--cpukit/score/src/objectallocate.c4
-rw-r--r--cpukit/score/src/objectallocatebyindex.c4
-rw-r--r--cpukit/score/src/objectclearname.c4
-rw-r--r--cpukit/score/src/objectcomparenameraw.c4
-rw-r--r--cpukit/score/src/objectcomparenamestring.c4
-rw-r--r--cpukit/score/src/objectcopynameraw.c4
-rw-r--r--cpukit/score/src/objectcopynamestring.c4
-rw-r--r--cpukit/score/src/objectextendinformation.c4
-rw-r--r--cpukit/score/src/objectfree.c4
-rw-r--r--cpukit/score/src/objectget.c4
-rw-r--r--cpukit/score/src/objectgetbyindex.c4
-rw-r--r--cpukit/score/src/objectgetisr.c4
-rw-r--r--cpukit/score/src/objectgetnext.c4
-rw-r--r--cpukit/score/src/objectgetnoprotection.c4
-rw-r--r--cpukit/score/src/objectidtoname.c4
-rw-r--r--cpukit/score/src/objectinitializeinformation.c4
-rw-r--r--cpukit/score/src/objectmp.c4
-rw-r--r--cpukit/score/src/objectnametoid.c4
-rw-r--r--cpukit/score/src/objectshrinkinformation.c4
-rw-r--r--cpukit/score/src/thread.c4
-rw-r--r--cpukit/score/src/threadchangepriority.c4
-rw-r--r--cpukit/score/src/threadclearstate.c4
-rw-r--r--cpukit/score/src/threadclose.c4
-rw-r--r--cpukit/score/src/threadcreateidle.c4
-rw-r--r--cpukit/score/src/threaddelayended.c4
-rw-r--r--cpukit/score/src/threaddispatch.c4
-rw-r--r--cpukit/score/src/threadevaluatemode.c4
-rw-r--r--cpukit/score/src/threadget.c4
-rw-r--r--cpukit/score/src/threadhandler.c4
-rw-r--r--cpukit/score/src/threadidlebody.c4
-rw-r--r--cpukit/score/src/threadinitialize.c4
-rw-r--r--cpukit/score/src/threadloadenv.c4
-rw-r--r--cpukit/score/src/threadmp.c4
-rw-r--r--cpukit/score/src/threadq.c4
-rw-r--r--cpukit/score/src/threadqdequeue.c4
-rw-r--r--cpukit/score/src/threadqdequeuefifo.c4
-rw-r--r--cpukit/score/src/threadqdequeuepriority.c4
-rw-r--r--cpukit/score/src/threadqenqueue.c4
-rw-r--r--cpukit/score/src/threadqenqueuefifo.c4
-rw-r--r--cpukit/score/src/threadqenqueuepriority.c4
-rw-r--r--cpukit/score/src/threadqextract.c4
-rw-r--r--cpukit/score/src/threadqextractfifo.c4
-rw-r--r--cpukit/score/src/threadqextractpriority.c4
-rw-r--r--cpukit/score/src/threadqextractwithproxy.c4
-rw-r--r--cpukit/score/src/threadqfirst.c4
-rw-r--r--cpukit/score/src/threadqfirstfifo.c4
-rw-r--r--cpukit/score/src/threadqfirstpriority.c4
-rw-r--r--cpukit/score/src/threadqflush.c4
-rw-r--r--cpukit/score/src/threadqtimeout.c4
-rw-r--r--cpukit/score/src/threadready.c4
-rw-r--r--cpukit/score/src/threadreset.c4
-rw-r--r--cpukit/score/src/threadresettimeslice.c4
-rw-r--r--cpukit/score/src/threadrestart.c4
-rw-r--r--cpukit/score/src/threadresume.c4
-rw-r--r--cpukit/score/src/threadrotatequeue.c4
-rw-r--r--cpukit/score/src/threadsetpriority.c4
-rw-r--r--cpukit/score/src/threadsetstate.c4
-rw-r--r--cpukit/score/src/threadsettransient.c4
-rw-r--r--cpukit/score/src/threadstackallocate.c4
-rw-r--r--cpukit/score/src/threadstackfree.c4
-rw-r--r--cpukit/score/src/threadstart.c4
-rw-r--r--cpukit/score/src/threadstartmultitasking.c4
-rw-r--r--cpukit/score/src/threadsuspend.c4
-rw-r--r--cpukit/score/src/threadtickletimeslice.c4
-rw-r--r--cpukit/score/src/threadyieldprocessor.c4
-rw-r--r--cpukit/score/src/userext.c4
-rw-r--r--cpukit/score/src/watchdog.c4
-rw-r--r--cpukit/score/src/watchdogadjust.c4
-rw-r--r--cpukit/score/src/watchdoginsert.c4
-rw-r--r--cpukit/score/src/watchdogremove.c4
-rw-r--r--cpukit/score/src/watchdogtickle.c4
-rw-r--r--cpukit/score/src/wkspace.c4
110 files changed, 430 insertions, 5 deletions
diff --git a/cpukit/score/src/apiext.c b/cpukit/score/src/apiext.c
index bdb223dd09..5a2c5f52c7 100644
--- a/cpukit/score/src/apiext.c
+++ b/cpukit/score/src/apiext.c
@@ -12,6 +12,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <rtems/system.h>
#include <rtems/score/apiext.h>
diff --git a/cpukit/score/src/chain.c b/cpukit/score/src/chain.c
index ea064c6b60..aa0387ef53 100644
--- a/cpukit/score/src/chain.c
+++ b/cpukit/score/src/chain.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/coremsg.c b/cpukit/score/src/coremsg.c
index 94098e0b96..765d2d5a64 100644
--- a/cpukit/score/src/coremsg.c
+++ b/cpukit/score/src/coremsg.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/coremsgbroadcast.c b/cpukit/score/src/coremsgbroadcast.c
index 1d6340991c..7bb02283a3 100644
--- a/cpukit/score/src/coremsgbroadcast.c
+++ b/cpukit/score/src/coremsgbroadcast.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/coremsgclose.c b/cpukit/score/src/coremsgclose.c
index 53b3aaea51..7cc25d3f7e 100644
--- a/cpukit/score/src/coremsgclose.c
+++ b/cpukit/score/src/coremsgclose.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/coremsgflush.c b/cpukit/score/src/coremsgflush.c
index f6e0d6836a..1f4ee1839b 100644
--- a/cpukit/score/src/coremsgflush.c
+++ b/cpukit/score/src/coremsgflush.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/coremsgflushsupp.c b/cpukit/score/src/coremsgflushsupp.c
index ddde563232..0b16760eb1 100644
--- a/cpukit/score/src/coremsgflushsupp.c
+++ b/cpukit/score/src/coremsgflushsupp.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/coremsgflushwait.c b/cpukit/score/src/coremsgflushwait.c
index c7687ca797..e96ef14f0b 100644
--- a/cpukit/score/src/coremsgflushwait.c
+++ b/cpukit/score/src/coremsgflushwait.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/coremsginsert.c b/cpukit/score/src/coremsginsert.c
index 698cf3b60f..4644010366 100644
--- a/cpukit/score/src/coremsginsert.c
+++ b/cpukit/score/src/coremsginsert.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/coremsgseize.c b/cpukit/score/src/coremsgseize.c
index 050d361769..c550df5b72 100644
--- a/cpukit/score/src/coremsgseize.c
+++ b/cpukit/score/src/coremsgseize.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c
index 4c57535c13..020c68533d 100644
--- a/cpukit/score/src/coremsgsubmit.c
+++ b/cpukit/score/src/coremsgsubmit.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/coremutex.c b/cpukit/score/src/coremutex.c
index 8e8b7456d8..ea187d9290 100644
--- a/cpukit/score/src/coremutex.c
+++ b/cpukit/score/src/coremutex.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/coremutex.h>
diff --git a/cpukit/score/src/coremutexflush.c b/cpukit/score/src/coremutexflush.c
index 2ac5e2d397..2006f2dee8 100644
--- a/cpukit/score/src/coremutexflush.c
+++ b/cpukit/score/src/coremutexflush.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/coremutex.h>
diff --git a/cpukit/score/src/coremutexseize.c b/cpukit/score/src/coremutexseize.c
index 2645bcc5d8..cd620c3e9d 100644
--- a/cpukit/score/src/coremutexseize.c
+++ b/cpukit/score/src/coremutexseize.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/coremutex.h>
diff --git a/cpukit/score/src/coremutexsurrender.c b/cpukit/score/src/coremutexsurrender.c
index d527d1fa79..917eef6051 100644
--- a/cpukit/score/src/coremutexsurrender.c
+++ b/cpukit/score/src/coremutexsurrender.c
@@ -16,6 +16,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/coremutex.h>
diff --git a/cpukit/score/src/coresem.c b/cpukit/score/src/coresem.c
index 8c77878b76..9030f20ae1 100644
--- a/cpukit/score/src/coresem.c
+++ b/cpukit/score/src/coresem.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/coresem.h>
diff --git a/cpukit/score/src/coresemflush.c b/cpukit/score/src/coresemflush.c
index ce2a62d85d..14d10039d2 100644
--- a/cpukit/score/src/coresemflush.c
+++ b/cpukit/score/src/coresemflush.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/coresem.h>
diff --git a/cpukit/score/src/coresemseize.c b/cpukit/score/src/coresemseize.c
index 457af2cbff..49c835b80b 100644
--- a/cpukit/score/src/coresemseize.c
+++ b/cpukit/score/src/coresemseize.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/coresem.h>
diff --git a/cpukit/score/src/coresemsurrender.c b/cpukit/score/src/coresemsurrender.c
index 18f9ab6df7..837d150391 100644
--- a/cpukit/score/src/coresemsurrender.c
+++ b/cpukit/score/src/coresemsurrender.c
@@ -17,6 +17,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/coresem.h>
diff --git a/cpukit/score/src/coretod.c b/cpukit/score/src/coretod.c
index 30824108ac..4824be2c36 100644
--- a/cpukit/score/src/coretod.c
+++ b/cpukit/score/src/coretod.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/score/src/coretodset.c b/cpukit/score/src/coretodset.c
index c679e5e8f4..ae7ec65b30 100644
--- a/cpukit/score/src/coretodset.c
+++ b/cpukit/score/src/coretodset.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/score/src/coretodtickle.c b/cpukit/score/src/coretodtickle.c
index 408b819ac2..d2c0fe3d46 100644
--- a/cpukit/score/src/coretodtickle.c
+++ b/cpukit/score/src/coretodtickle.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/score/src/coretodtoseconds.c b/cpukit/score/src/coretodtoseconds.c
index ae60f512b0..5bea09cc25 100644
--- a/cpukit/score/src/coretodtoseconds.c
+++ b/cpukit/score/src/coretodtoseconds.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/score/src/coretodvalidate.c b/cpukit/score/src/coretodvalidate.c
index 1a92f81c57..6db0c9eb67 100644
--- a/cpukit/score/src/coretodvalidate.c
+++ b/cpukit/score/src/coretodvalidate.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/score/src/heap.c b/cpukit/score/src/heap.c
index 910ac94c33..00dda0afb0 100644
--- a/cpukit/score/src/heap.c
+++ b/cpukit/score/src/heap.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <rtems/system.h>
#include <rtems/score/sysstate.h>
@@ -169,7 +172,6 @@ uint32_t _Heap_Initialize(
_HAssert(_Heap_Is_aligned(the_heap->min_block_size, page_size));
_HAssert(_Heap_Is_aligned_ptr(_Heap_User_area(the_block), page_size));
-
the_block = _Heap_Block_at( the_block, the_size );
the_heap->final = the_block; /* Permanent final block of the heap */
the_block->prev_size = the_size; /* Previous block is free */
@@ -199,7 +201,6 @@ uint32_t _Heap_Initialize(
*
*/
-
/*
* Convert user requested 'size' of memory block to the block size.
* Return block size on success, 0 if overflow occured
@@ -215,7 +216,6 @@ uint32_t _Heap_Calc_block_size(
return (block_size > size) ? block_size : 0;
}
-
/*
* Allocate block of size 'alloc_size' from 'the_block' belonging to
* 'the_heap'. Either split 'the_block' or allocate it entirely.
diff --git a/cpukit/score/src/heapallocate.c b/cpukit/score/src/heapallocate.c
index d49eb62b46..b0f17dca85 100644
--- a/cpukit/score/src/heapallocate.c
+++ b/cpukit/score/src/heapallocate.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <rtems/system.h>
#include <rtems/score/sysstate.h>
diff --git a/cpukit/score/src/heapallocatealigned.c b/cpukit/score/src/heapallocatealigned.c
index 4fb2dc7aea..557c3c8499 100644
--- a/cpukit/score/src/heapallocatealigned.c
+++ b/cpukit/score/src/heapallocatealigned.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <rtems/system.h>
#include <rtems/score/sysstate.h>
@@ -53,7 +56,6 @@ check_result(
#endif /* !defined(RTEMS_HEAP_DEBUG) */
-
/*PAGE
*
* _Heap_Allocate_aligned
diff --git a/cpukit/score/src/heapextend.c b/cpukit/score/src/heapextend.c
index 8166d99e6f..0bcf194532 100644
--- a/cpukit/score/src/heapextend.c
+++ b/cpukit/score/src/heapextend.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <rtems/system.h>
#include <rtems/score/sysstate.h>
diff --git a/cpukit/score/src/heapfree.c b/cpukit/score/src/heapfree.c
index 0bd413d1dc..9702241e32 100644
--- a/cpukit/score/src/heapfree.c
+++ b/cpukit/score/src/heapfree.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <rtems/system.h>
#include <rtems/score/sysstate.h>
diff --git a/cpukit/score/src/heapgetfreeinfo.c b/cpukit/score/src/heapgetfreeinfo.c
index 1b8d8598a0..b53931414b 100644
--- a/cpukit/score/src/heapgetfreeinfo.c
+++ b/cpukit/score/src/heapgetfreeinfo.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <rtems/system.h>
#include <rtems/score/sysstate.h>
diff --git a/cpukit/score/src/heapgetinfo.c b/cpukit/score/src/heapgetinfo.c
index 6ba368c7a0..525b790d07 100644
--- a/cpukit/score/src/heapgetinfo.c
+++ b/cpukit/score/src/heapgetinfo.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <rtems/system.h>
#include <rtems/score/sysstate.h>
@@ -32,7 +35,6 @@
* return 0=success, otherwise heap is corrupt.
*/
-
Heap_Get_information_status _Heap_Get_information(
Heap_Control *the_heap,
Heap_Information_block *the_info
diff --git a/cpukit/score/src/heapsizeofuserarea.c b/cpukit/score/src/heapsizeofuserarea.c
index 002e815bd5..0585d2966d 100644
--- a/cpukit/score/src/heapsizeofuserarea.c
+++ b/cpukit/score/src/heapsizeofuserarea.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <rtems/system.h>
#include <rtems/score/sysstate.h>
diff --git a/cpukit/score/src/heapwalk.c b/cpukit/score/src/heapwalk.c
index a589b3cdf4..7994e22b27 100644
--- a/cpukit/score/src/heapwalk.c
+++ b/cpukit/score/src/heapwalk.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <rtems/system.h>
#include <rtems/score/sysstate.h>
diff --git a/cpukit/score/src/interr.c b/cpukit/score/src/interr.c
index 1e131823a0..90ebafdf21 100644
--- a/cpukit/score/src/interr.c
+++ b/cpukit/score/src/interr.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/interr.h>
#include <rtems/score/sysstate.h>
diff --git a/cpukit/score/src/isr.c b/cpukit/score/src/isr.c
index b1cf2e5c0d..af7ebbfba7 100644
--- a/cpukit/score/src/isr.c
+++ b/cpukit/score/src/isr.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/stack.h>
diff --git a/cpukit/score/src/iterateoverthreads.c b/cpukit/score/src/iterateoverthreads.c
index 7577c317c7..3841a45dfd 100644
--- a/cpukit/score/src/iterateoverthreads.c
+++ b/cpukit/score/src/iterateoverthreads.c
@@ -15,6 +15,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index adc2690dc6..58f99c81e9 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/cpu.h>
#include <rtems/score/interr.h>
diff --git a/cpukit/score/src/object.c b/cpukit/score/src/object.c
index 4a806a7ef2..ba486217a7 100644
--- a/cpukit/score/src/object.c
+++ b/cpukit/score/src/object.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c
index 4ad0da6756..c2a6b5efe2 100644
--- a/cpukit/score/src/objectallocate.c
+++ b/cpukit/score/src/objectallocate.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectallocatebyindex.c b/cpukit/score/src/objectallocatebyindex.c
index 713e3d3fa9..1a4ca6da85 100644
--- a/cpukit/score/src/objectallocatebyindex.c
+++ b/cpukit/score/src/objectallocatebyindex.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectclearname.c b/cpukit/score/src/objectclearname.c
index 6c6a54404e..1c90def6fa 100644
--- a/cpukit/score/src/objectclearname.c
+++ b/cpukit/score/src/objectclearname.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectcomparenameraw.c b/cpukit/score/src/objectcomparenameraw.c
index 55696cd138..870d55d651 100644
--- a/cpukit/score/src/objectcomparenameraw.c
+++ b/cpukit/score/src/objectcomparenameraw.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectcomparenamestring.c b/cpukit/score/src/objectcomparenamestring.c
index 9b71cdd059..a9b3be1e7b 100644
--- a/cpukit/score/src/objectcomparenamestring.c
+++ b/cpukit/score/src/objectcomparenamestring.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectcopynameraw.c b/cpukit/score/src/objectcopynameraw.c
index d89752b0de..2a9cd069d6 100644
--- a/cpukit/score/src/objectcopynameraw.c
+++ b/cpukit/score/src/objectcopynameraw.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectcopynamestring.c b/cpukit/score/src/objectcopynamestring.c
index d77092b1a9..3ae0213b6d 100644
--- a/cpukit/score/src/objectcopynamestring.c
+++ b/cpukit/score/src/objectcopynamestring.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectextendinformation.c b/cpukit/score/src/objectextendinformation.c
index b8652a4567..538ab139bb 100644
--- a/cpukit/score/src/objectextendinformation.c
+++ b/cpukit/score/src/objectextendinformation.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectfree.c b/cpukit/score/src/objectfree.c
index 8d768b2f55..af12a0fe8b 100644
--- a/cpukit/score/src/objectfree.c
+++ b/cpukit/score/src/objectfree.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectget.c b/cpukit/score/src/objectget.c
index 9b524899e5..dd798a8976 100644
--- a/cpukit/score/src/objectget.c
+++ b/cpukit/score/src/objectget.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectgetbyindex.c b/cpukit/score/src/objectgetbyindex.c
index f83562e753..199dcb9b2b 100644
--- a/cpukit/score/src/objectgetbyindex.c
+++ b/cpukit/score/src/objectgetbyindex.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectgetisr.c b/cpukit/score/src/objectgetisr.c
index 2f25025bcf..8a53c7b8b5 100644
--- a/cpukit/score/src/objectgetisr.c
+++ b/cpukit/score/src/objectgetisr.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectgetnext.c b/cpukit/score/src/objectgetnext.c
index 383d2735c9..a27ecf7dad 100644
--- a/cpukit/score/src/objectgetnext.c
+++ b/cpukit/score/src/objectgetnext.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectgetnoprotection.c b/cpukit/score/src/objectgetnoprotection.c
index 667eae291c..7f3981e1e0 100644
--- a/cpukit/score/src/objectgetnoprotection.c
+++ b/cpukit/score/src/objectgetnoprotection.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectidtoname.c b/cpukit/score/src/objectidtoname.c
index 41c20815c2..ff3c2299de 100644
--- a/cpukit/score/src/objectidtoname.c
+++ b/cpukit/score/src/objectidtoname.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/object.h>
diff --git a/cpukit/score/src/objectinitializeinformation.c b/cpukit/score/src/objectinitializeinformation.c
index ffaf91674a..6f4c4bbc60 100644
--- a/cpukit/score/src/objectinitializeinformation.c
+++ b/cpukit/score/src/objectinitializeinformation.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c
index b71ef500a1..1eb678557a 100644
--- a/cpukit/score/src/objectmp.c
+++ b/cpukit/score/src/objectmp.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/interr.h>
#include <rtems/score/object.h>
diff --git a/cpukit/score/src/objectnametoid.c b/cpukit/score/src/objectnametoid.c
index 33bdc071fb..533c4b0ec4 100644
--- a/cpukit/score/src/objectnametoid.c
+++ b/cpukit/score/src/objectnametoid.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/objectshrinkinformation.c b/cpukit/score/src/objectshrinkinformation.c
index d71d1348c3..2ecea75267 100644
--- a/cpukit/score/src/objectshrinkinformation.c
+++ b/cpukit/score/src/objectshrinkinformation.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/address.h>
#include <rtems/score/chain.h>
diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c
index 9b3a2c35f9..58b62b7116 100644
--- a/cpukit/score/src/thread.c
+++ b/cpukit/score/src/thread.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadchangepriority.c b/cpukit/score/src/threadchangepriority.c
index eda2cd7dfa..89d0d2cd5f 100644
--- a/cpukit/score/src/threadchangepriority.c
+++ b/cpukit/score/src/threadchangepriority.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadclearstate.c b/cpukit/score/src/threadclearstate.c
index 9833805b8c..bb7deffe06 100644
--- a/cpukit/score/src/threadclearstate.c
+++ b/cpukit/score/src/threadclearstate.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadclose.c b/cpukit/score/src/threadclose.c
index 750a4d8b8a..e506b2666d 100644
--- a/cpukit/score/src/threadclose.c
+++ b/cpukit/score/src/threadclose.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadcreateidle.c b/cpukit/score/src/threadcreateidle.c
index fdfb24acf4..f9d4d21ba9 100644
--- a/cpukit/score/src/threadcreateidle.c
+++ b/cpukit/score/src/threadcreateidle.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threaddelayended.c b/cpukit/score/src/threaddelayended.c
index e5d831b95e..0f6998acbe 100644
--- a/cpukit/score/src/threaddelayended.c
+++ b/cpukit/score/src/threaddelayended.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c
index e1b730052d..96f4fa6c3f 100644
--- a/cpukit/score/src/threaddispatch.c
+++ b/cpukit/score/src/threaddispatch.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadevaluatemode.c b/cpukit/score/src/threadevaluatemode.c
index dc8b1061cd..f4d99b12cc 100644
--- a/cpukit/score/src/threadevaluatemode.c
+++ b/cpukit/score/src/threadevaluatemode.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadget.c b/cpukit/score/src/threadget.c
index 2db332d80c..f2c34a1d4e 100644
--- a/cpukit/score/src/threadget.c
+++ b/cpukit/score/src/threadget.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadhandler.c b/cpukit/score/src/threadhandler.c
index a0d54e8579..c5ff9c03af 100644
--- a/cpukit/score/src/threadhandler.c
+++ b/cpukit/score/src/threadhandler.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadidlebody.c b/cpukit/score/src/threadidlebody.c
index 18c4504c1d..22856f7bd1 100644
--- a/cpukit/score/src/threadidlebody.c
+++ b/cpukit/score/src/threadidlebody.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c
index 319a3abea9..0ed4cdfe69 100644
--- a/cpukit/score/src/threadinitialize.c
+++ b/cpukit/score/src/threadinitialize.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadloadenv.c b/cpukit/score/src/threadloadenv.c
index 2087d91aa7..b586a20621 100644
--- a/cpukit/score/src/threadloadenv.c
+++ b/cpukit/score/src/threadloadenv.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadmp.c b/cpukit/score/src/threadmp.c
index f399e6d896..9a421a36a5 100644
--- a/cpukit/score/src/threadmp.c
+++ b/cpukit/score/src/threadmp.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/priority.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/score/src/threadq.c b/cpukit/score/src/threadq.c
index 7177de7280..d17c3d8f7e 100644
--- a/cpukit/score/src/threadq.c
+++ b/cpukit/score/src/threadq.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqdequeue.c b/cpukit/score/src/threadqdequeue.c
index cee4d255bf..d5968b0210 100644
--- a/cpukit/score/src/threadqdequeue.c
+++ b/cpukit/score/src/threadqdequeue.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqdequeuefifo.c b/cpukit/score/src/threadqdequeuefifo.c
index b3a7e10495..ff76bff3d9 100644
--- a/cpukit/score/src/threadqdequeuefifo.c
+++ b/cpukit/score/src/threadqdequeuefifo.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqdequeuepriority.c b/cpukit/score/src/threadqdequeuepriority.c
index 2646b44e17..1b02a71158 100644
--- a/cpukit/score/src/threadqdequeuepriority.c
+++ b/cpukit/score/src/threadqdequeuepriority.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqenqueue.c b/cpukit/score/src/threadqenqueue.c
index 4a0964e8c1..97a68b2e68 100644
--- a/cpukit/score/src/threadqenqueue.c
+++ b/cpukit/score/src/threadqenqueue.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqenqueuefifo.c b/cpukit/score/src/threadqenqueuefifo.c
index 87058b594a..2cd5166356 100644
--- a/cpukit/score/src/threadqenqueuefifo.c
+++ b/cpukit/score/src/threadqenqueuefifo.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqenqueuepriority.c b/cpukit/score/src/threadqenqueuepriority.c
index 8e56d984d4..b5154b8c76 100644
--- a/cpukit/score/src/threadqenqueuepriority.c
+++ b/cpukit/score/src/threadqenqueuepriority.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqextract.c b/cpukit/score/src/threadqextract.c
index 0d2696ed61..a8faef03f7 100644
--- a/cpukit/score/src/threadqextract.c
+++ b/cpukit/score/src/threadqextract.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqextractfifo.c b/cpukit/score/src/threadqextractfifo.c
index 714e2628d9..145bf314a3 100644
--- a/cpukit/score/src/threadqextractfifo.c
+++ b/cpukit/score/src/threadqextractfifo.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqextractpriority.c b/cpukit/score/src/threadqextractpriority.c
index 5836c17de2..dfadc25425 100644
--- a/cpukit/score/src/threadqextractpriority.c
+++ b/cpukit/score/src/threadqextractpriority.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqextractwithproxy.c b/cpukit/score/src/threadqextractwithproxy.c
index 6666b1a71a..fcf071a9ae 100644
--- a/cpukit/score/src/threadqextractwithproxy.c
+++ b/cpukit/score/src/threadqextractwithproxy.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqfirst.c b/cpukit/score/src/threadqfirst.c
index 9b9db708e1..bcbe759eda 100644
--- a/cpukit/score/src/threadqfirst.c
+++ b/cpukit/score/src/threadqfirst.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqfirstfifo.c b/cpukit/score/src/threadqfirstfifo.c
index 15cb1f4969..b002f1f448 100644
--- a/cpukit/score/src/threadqfirstfifo.c
+++ b/cpukit/score/src/threadqfirstfifo.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqfirstpriority.c b/cpukit/score/src/threadqfirstpriority.c
index 474b27c630..81ac2742eb 100644
--- a/cpukit/score/src/threadqfirstpriority.c
+++ b/cpukit/score/src/threadqfirstpriority.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqflush.c b/cpukit/score/src/threadqflush.c
index 99aa002f90..ecb9b0df20 100644
--- a/cpukit/score/src/threadqflush.c
+++ b/cpukit/score/src/threadqflush.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadqtimeout.c b/cpukit/score/src/threadqtimeout.c
index 487b882702..8913aa123a 100644
--- a/cpukit/score/src/threadqtimeout.c
+++ b/cpukit/score/src/threadqtimeout.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
diff --git a/cpukit/score/src/threadready.c b/cpukit/score/src/threadready.c
index cf80801b20..159924492c 100644
--- a/cpukit/score/src/threadready.c
+++ b/cpukit/score/src/threadready.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadreset.c b/cpukit/score/src/threadreset.c
index 4e3afe2a9f..f4c12f38f7 100644
--- a/cpukit/score/src/threadreset.c
+++ b/cpukit/score/src/threadreset.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadresettimeslice.c b/cpukit/score/src/threadresettimeslice.c
index 64734b2e6d..ff383834df 100644
--- a/cpukit/score/src/threadresettimeslice.c
+++ b/cpukit/score/src/threadresettimeslice.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c
index 606ae6e79c..a55f601330 100644
--- a/cpukit/score/src/threadrestart.c
+++ b/cpukit/score/src/threadrestart.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadresume.c b/cpukit/score/src/threadresume.c
index 65882d37ca..7f3555fe04 100644
--- a/cpukit/score/src/threadresume.c
+++ b/cpukit/score/src/threadresume.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadrotatequeue.c b/cpukit/score/src/threadrotatequeue.c
index c9ddf2ba8c..28388ccbc6 100644
--- a/cpukit/score/src/threadrotatequeue.c
+++ b/cpukit/score/src/threadrotatequeue.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadsetpriority.c b/cpukit/score/src/threadsetpriority.c
index 034d07b94c..ba1482f5b5 100644
--- a/cpukit/score/src/threadsetpriority.c
+++ b/cpukit/score/src/threadsetpriority.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadsetstate.c b/cpukit/score/src/threadsetstate.c
index 2f53546a04..f1cc469f1c 100644
--- a/cpukit/score/src/threadsetstate.c
+++ b/cpukit/score/src/threadsetstate.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadsettransient.c b/cpukit/score/src/threadsettransient.c
index 0147c3f578..ab0a1d451d 100644
--- a/cpukit/score/src/threadsettransient.c
+++ b/cpukit/score/src/threadsettransient.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadstackallocate.c b/cpukit/score/src/threadstackallocate.c
index 6709ee22ba..6464d2caec 100644
--- a/cpukit/score/src/threadstackallocate.c
+++ b/cpukit/score/src/threadstackallocate.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadstackfree.c b/cpukit/score/src/threadstackfree.c
index ee1357292b..305b1eafba 100644
--- a/cpukit/score/src/threadstackfree.c
+++ b/cpukit/score/src/threadstackfree.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadstart.c b/cpukit/score/src/threadstart.c
index b55d8dc478..6c9fc3337b 100644
--- a/cpukit/score/src/threadstart.c
+++ b/cpukit/score/src/threadstart.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadstartmultitasking.c b/cpukit/score/src/threadstartmultitasking.c
index 6ce9a0529c..4e12d9a806 100644
--- a/cpukit/score/src/threadstartmultitasking.c
+++ b/cpukit/score/src/threadstartmultitasking.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadsuspend.c b/cpukit/score/src/threadsuspend.c
index 418e279415..87ee0d6a80 100644
--- a/cpukit/score/src/threadsuspend.c
+++ b/cpukit/score/src/threadsuspend.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadtickletimeslice.c b/cpukit/score/src/threadtickletimeslice.c
index db2c9461ef..0666066b28 100644
--- a/cpukit/score/src/threadtickletimeslice.c
+++ b/cpukit/score/src/threadtickletimeslice.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/threadyieldprocessor.c b/cpukit/score/src/threadyieldprocessor.c
index 39dd1c092b..7f2325ed78 100644
--- a/cpukit/score/src/threadyieldprocessor.c
+++ b/cpukit/score/src/threadyieldprocessor.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/apiext.h>
#include <rtems/score/context.h>
diff --git a/cpukit/score/src/userext.c b/cpukit/score/src/userext.c
index d3421838c8..469200ef76 100644
--- a/cpukit/score/src/userext.c
+++ b/cpukit/score/src/userext.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/userext.h>
diff --git a/cpukit/score/src/watchdog.c b/cpukit/score/src/watchdog.c
index a9d4d21964..591f2de117 100644
--- a/cpukit/score/src/watchdog.c
+++ b/cpukit/score/src/watchdog.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/watchdog.h>
diff --git a/cpukit/score/src/watchdogadjust.c b/cpukit/score/src/watchdogadjust.c
index 2a6dda4c45..42cfbcaf8c 100644
--- a/cpukit/score/src/watchdogadjust.c
+++ b/cpukit/score/src/watchdogadjust.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/watchdog.h>
diff --git a/cpukit/score/src/watchdoginsert.c b/cpukit/score/src/watchdoginsert.c
index c09135289e..6bda69adde 100644
--- a/cpukit/score/src/watchdoginsert.c
+++ b/cpukit/score/src/watchdoginsert.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/watchdog.h>
diff --git a/cpukit/score/src/watchdogremove.c b/cpukit/score/src/watchdogremove.c
index 91e4c30340..3ce3367657 100644
--- a/cpukit/score/src/watchdogremove.c
+++ b/cpukit/score/src/watchdogremove.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/watchdog.h>
diff --git a/cpukit/score/src/watchdogtickle.c b/cpukit/score/src/watchdogtickle.c
index 9d5060fec4..82b614894b 100644
--- a/cpukit/score/src/watchdogtickle.c
+++ b/cpukit/score/src/watchdogtickle.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/watchdog.h>
diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c
index e0cb4a5c1d..97c1820119 100644
--- a/cpukit/score/src/wkspace.c
+++ b/cpukit/score/src/wkspace.c
@@ -15,6 +15,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems/system.h>
#include <rtems/score/wkspace.h>
#include <rtems/score/interr.h>