summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-24 14:17:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-24 14:17:28 +0000
commitf42b726174dc552b20f576fadf124c6f1fac8fdc (patch)
treea0dd2efbee02d9a0c22c2b8aa75f1d8476cf0539 /cpukit
parent5c26b28b9bd7bdc68b82d71a25f308cd13948eea (diff)
downloadrtems-f42b726174dc552b20f576fadf124c6f1fac8fdc.tar.bz2
2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add src/config.h * src/Makefile.am: Add INCLUDES += -I. to pickup config.h * src/.cvsignore: Add config.h and stamp-h * src/*.c: Add config.h support.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/itron/ChangeLog7
-rw-r--r--cpukit/itron/src/.cvsignore4
-rw-r--r--cpukit/itron/src/Makefile.am2
-rw-r--r--cpukit/itron/src/can_wup.c4
-rw-r--r--cpukit/itron/src/chg_pri.c4
-rw-r--r--cpukit/itron/src/cre_mbf.c4
-rw-r--r--cpukit/itron/src/cre_mbx.c4
-rw-r--r--cpukit/itron/src/cre_sem.c4
-rw-r--r--cpukit/itron/src/cre_tsk.c4
-rw-r--r--cpukit/itron/src/del_mbf.c4
-rw-r--r--cpukit/itron/src/del_mbx.c4
-rw-r--r--cpukit/itron/src/del_sem.c4
-rw-r--r--cpukit/itron/src/del_tsk.c4
-rw-r--r--cpukit/itron/src/dis_dsp.c4
-rw-r--r--cpukit/itron/src/ena_dsp.c4
-rw-r--r--cpukit/itron/src/eventflags.c4
-rw-r--r--cpukit/itron/src/exd_tsk.c4
-rw-r--r--cpukit/itron/src/ext_tsk.c4
-rw-r--r--cpukit/itron/src/fmempool.c4
-rw-r--r--cpukit/itron/src/frsm_tsk.c4
-rw-r--r--cpukit/itron/src/get_tid.c4
-rw-r--r--cpukit/itron/src/itronintr.c4
-rw-r--r--cpukit/itron/src/itronsem.c4
-rw-r--r--cpukit/itron/src/itrontime.c4
-rw-r--r--cpukit/itron/src/mbox.c4
-rw-r--r--cpukit/itron/src/mboxtranslatereturncode.c4
-rw-r--r--cpukit/itron/src/msgbuffer.c4
-rw-r--r--cpukit/itron/src/msgbuffertranslatereturncode.c4
-rw-r--r--cpukit/itron/src/network.c4
-rw-r--r--cpukit/itron/src/port.c4
-rw-r--r--cpukit/itron/src/prcv_mbf.c4
-rw-r--r--cpukit/itron/src/prcv_mbx.c4
-rw-r--r--cpukit/itron/src/preq_sem.c4
-rw-r--r--cpukit/itron/src/psnd_mbf.c4
-rw-r--r--cpukit/itron/src/rcv_mbf.c4
-rw-r--r--cpukit/itron/src/rcv_mbx.c4
-rw-r--r--cpukit/itron/src/ref_mbf.c4
-rw-r--r--cpukit/itron/src/ref_mbx.c4
-rw-r--r--cpukit/itron/src/ref_sem.c4
-rw-r--r--cpukit/itron/src/ref_tsk.c4
-rw-r--r--cpukit/itron/src/rel_wai.c4
-rw-r--r--cpukit/itron/src/rot_rdq.c4
-rw-r--r--cpukit/itron/src/rsm_tsk.c4
-rw-r--r--cpukit/itron/src/sig_sem.c4
-rw-r--r--cpukit/itron/src/slp_tsk.c4
-rw-r--r--cpukit/itron/src/snd_mbf.c4
-rw-r--r--cpukit/itron/src/snd_mbx.c4
-rw-r--r--cpukit/itron/src/sta_tsk.c4
-rw-r--r--cpukit/itron/src/sus_tsk.c4
-rw-r--r--cpukit/itron/src/sysmgmt.c4
-rw-r--r--cpukit/itron/src/task.c4
-rw-r--r--cpukit/itron/src/ter_tsk.c4
-rw-r--r--cpukit/itron/src/trcv_mbf.c4
-rw-r--r--cpukit/itron/src/trcv_mbx.c4
-rw-r--r--cpukit/itron/src/tslp_tsk.c4
-rw-r--r--cpukit/itron/src/tsnd_mbf.c4
-rw-r--r--cpukit/itron/src/twai_sem.c4
-rw-r--r--cpukit/itron/src/vmempool.c4
-rw-r--r--cpukit/itron/src/wai_sem.c4
-rw-r--r--cpukit/itron/src/wup_tsk.c4
-rw-r--r--cpukit/libcsupport/src/utsname.c4
-rw-r--r--cpukit/posix/ChangeLog7
-rw-r--r--cpukit/posix/src/.cvsignore4
-rw-r--r--cpukit/posix/src/Makefile.am2
-rw-r--r--cpukit/posix/src/adasupp.c4
-rw-r--r--cpukit/posix/src/aio.c4
-rw-r--r--cpukit/posix/src/alarm.c3
-rw-r--r--cpukit/posix/src/cancel.c4
-rw-r--r--cpukit/posix/src/cancelrun.c4
-rw-r--r--cpukit/posix/src/cleanuppop.c4
-rw-r--r--cpukit/posix/src/cleanuppush.c4
-rw-r--r--cpukit/posix/src/clockgetcpuclockid.c4
-rw-r--r--cpukit/posix/src/clockgetenableattr.c4
-rw-r--r--cpukit/posix/src/clockgetres.c4
-rw-r--r--cpukit/posix/src/clockgettime.c4
-rw-r--r--cpukit/posix/src/clocksetenableattr.c4
-rw-r--r--cpukit/posix/src/clocksettime.c4
-rw-r--r--cpukit/posix/src/cond.c4
-rw-r--r--cpukit/posix/src/condattrdestroy.c4
-rw-r--r--cpukit/posix/src/condattrgetpshared.c4
-rw-r--r--cpukit/posix/src/condattrinit.c4
-rw-r--r--cpukit/posix/src/condattrsetpshared.c4
-rw-r--r--cpukit/posix/src/condbroadcast.c4
-rw-r--r--cpukit/posix/src/conddefaultattributes.c4
-rw-r--r--cpukit/posix/src/conddestroy.c4
-rw-r--r--cpukit/posix/src/condinit.c4
-rw-r--r--cpukit/posix/src/condmp.c4
-rw-r--r--cpukit/posix/src/condsignal.c4
-rw-r--r--cpukit/posix/src/condsignalsupp.c4
-rw-r--r--cpukit/posix/src/condtimedwait.c4
-rw-r--r--cpukit/posix/src/condwait.c4
-rw-r--r--cpukit/posix/src/condwaitsupp.c4
-rw-r--r--cpukit/posix/src/devctl.c4
-rw-r--r--cpukit/posix/src/execl.c4
-rw-r--r--cpukit/posix/src/execle.c4
-rw-r--r--cpukit/posix/src/execlp.c4
-rw-r--r--cpukit/posix/src/execv.c4
-rw-r--r--cpukit/posix/src/execve.c4
-rw-r--r--cpukit/posix/src/execvp.c4
-rw-r--r--cpukit/posix/src/fork.c4
-rw-r--r--cpukit/posix/src/getegid.c4
-rw-r--r--cpukit/posix/src/geteuid.c4
-rw-r--r--cpukit/posix/src/getgid.c4
-rw-r--r--cpukit/posix/src/getgroups.c4
-rw-r--r--cpukit/posix/src/getlogin.c4
-rw-r--r--cpukit/posix/src/getpgrp.c4
-rw-r--r--cpukit/posix/src/getpid.c4
-rw-r--r--cpukit/posix/src/getppid.c4
-rw-r--r--cpukit/posix/src/getuid.c4
-rw-r--r--cpukit/posix/src/intr.c4
-rw-r--r--cpukit/posix/src/key.c4
-rw-r--r--cpukit/posix/src/keycreate.c4
-rw-r--r--cpukit/posix/src/keydelete.c4
-rw-r--r--cpukit/posix/src/keygetspecific.c4
-rw-r--r--cpukit/posix/src/keyrundestructors.c4
-rw-r--r--cpukit/posix/src/keysetspecific.c4
-rw-r--r--cpukit/posix/src/kill.c3
-rw-r--r--cpukit/posix/src/killinfo.c3
-rw-r--r--cpukit/posix/src/mqueue.c4
-rw-r--r--cpukit/posix/src/mqueueclose.c4
-rw-r--r--cpukit/posix/src/mqueuecreatesupp.c4
-rw-r--r--cpukit/posix/src/mqueuedeletesupp.c4
-rw-r--r--cpukit/posix/src/mqueuegetattr.c4
-rw-r--r--cpukit/posix/src/mqueuenametoid.c4
-rw-r--r--cpukit/posix/src/mqueuenotify.c4
-rw-r--r--cpukit/posix/src/mqueueopen.c4
-rw-r--r--cpukit/posix/src/mqueuereceive.c4
-rw-r--r--cpukit/posix/src/mqueuerecvsupp.c4
-rw-r--r--cpukit/posix/src/mqueuesend.c4
-rw-r--r--cpukit/posix/src/mqueuesendsupp.c4
-rw-r--r--cpukit/posix/src/mqueuesetattr.c4
-rw-r--r--cpukit/posix/src/mqueuetimedreceive.c4
-rw-r--r--cpukit/posix/src/mqueuetimedsend.c4
-rw-r--r--cpukit/posix/src/mqueuetranslatereturncode.c4
-rw-r--r--cpukit/posix/src/mqueueunlink.c4
-rw-r--r--cpukit/posix/src/mutex.c4
-rw-r--r--cpukit/posix/src/mutexattrdestroy.c4
-rw-r--r--cpukit/posix/src/mutexattrgetprioceiling.c4
-rw-r--r--cpukit/posix/src/mutexattrgetprotocol.c4
-rw-r--r--cpukit/posix/src/mutexattrgetpshared.c4
-rw-r--r--cpukit/posix/src/mutexattrinit.c4
-rw-r--r--cpukit/posix/src/mutexattrsetprioceiling.c4
-rw-r--r--cpukit/posix/src/mutexattrsetprotocol.c4
-rw-r--r--cpukit/posix/src/mutexattrsetpshared.c4
-rw-r--r--cpukit/posix/src/mutexdefaultattributes.c4
-rw-r--r--cpukit/posix/src/mutexdestroy.c4
-rw-r--r--cpukit/posix/src/mutexfromcorestatus.c4
-rw-r--r--cpukit/posix/src/mutexgetprioceiling.c4
-rw-r--r--cpukit/posix/src/mutexinit.c4
-rw-r--r--cpukit/posix/src/mutexlock.c4
-rw-r--r--cpukit/posix/src/mutexlocksupp.c4
-rw-r--r--cpukit/posix/src/mutexmp.c4
-rw-r--r--cpukit/posix/src/mutexsetprioceiling.c4
-rw-r--r--cpukit/posix/src/mutextimedlock.c4
-rw-r--r--cpukit/posix/src/mutextrylock.c4
-rw-r--r--cpukit/posix/src/mutexunlock.c4
-rw-r--r--cpukit/posix/src/nanosleep.c4
-rw-r--r--cpukit/posix/src/pause.c3
-rw-r--r--cpukit/posix/src/posixintervaltotimespec.c4
-rw-r--r--cpukit/posix/src/posixtimespecsubtract.c4
-rw-r--r--cpukit/posix/src/posixtimespectointerval.c4
-rw-r--r--cpukit/posix/src/psignal.c4
-rw-r--r--cpukit/posix/src/psignalchecksignal.c4
-rw-r--r--cpukit/posix/src/psignalclearprocesssignals.c4
-rw-r--r--cpukit/posix/src/psignalclearsignals.c4
-rw-r--r--cpukit/posix/src/psignalsetprocesssignals.c4
-rw-r--r--cpukit/posix/src/psignalunblockthread.c4
-rw-r--r--cpukit/posix/src/pthread.c4
-rw-r--r--cpukit/posix/src/pthreadatfork.c4
-rw-r--r--cpukit/posix/src/pthreadattrdestroy.c3
-rw-r--r--cpukit/posix/src/pthreadattrgetdetachstate.c3
-rw-r--r--cpukit/posix/src/pthreadattrgetinheritsched.c3
-rw-r--r--cpukit/posix/src/pthreadattrgetschedparam.c3
-rw-r--r--cpukit/posix/src/pthreadattrgetschedpolicy.c3
-rw-r--r--cpukit/posix/src/pthreadattrgetscope.c3
-rw-r--r--cpukit/posix/src/pthreadattrgetstackaddr.c3
-rw-r--r--cpukit/posix/src/pthreadattrgetstacksize.c3
-rw-r--r--cpukit/posix/src/pthreadattrinit.c3
-rw-r--r--cpukit/posix/src/pthreadattrsetdetachstate.c3
-rw-r--r--cpukit/posix/src/pthreadattrsetinheritsched.c3
-rw-r--r--cpukit/posix/src/pthreadattrsetschedparam.c3
-rw-r--r--cpukit/posix/src/pthreadattrsetschedpolicy.c3
-rw-r--r--cpukit/posix/src/pthreadattrsetscope.c3
-rw-r--r--cpukit/posix/src/pthreadattrsetstackaddr.c3
-rw-r--r--cpukit/posix/src/pthreadattrsetstacksize.c4
-rw-r--r--cpukit/posix/src/pthreadcreate.c4
-rw-r--r--cpukit/posix/src/pthreaddetach.c3
-rw-r--r--cpukit/posix/src/pthreadequal.c4
-rw-r--r--cpukit/posix/src/pthreadexit.c3
-rw-r--r--cpukit/posix/src/pthreadgetcpuclockid.c4
-rw-r--r--cpukit/posix/src/pthreadgetcputime.c4
-rw-r--r--cpukit/posix/src/pthreadgetschedparam.c3
-rw-r--r--cpukit/posix/src/pthreadjoin.c3
-rw-r--r--cpukit/posix/src/pthreadkill.c3
-rw-r--r--cpukit/posix/src/pthreadonce.c4
-rw-r--r--cpukit/posix/src/pthreadself.c3
-rw-r--r--cpukit/posix/src/pthreadsetcputime.c4
-rw-r--r--cpukit/posix/src/pthreadsetschedparam.c3
-rw-r--r--cpukit/posix/src/pthreadsigmask.c3
-rw-r--r--cpukit/posix/src/ptimer.c4
-rw-r--r--cpukit/posix/src/ptimer1.c4
-rw-r--r--cpukit/posix/src/sched.c4
-rw-r--r--cpukit/posix/src/semaphore.c4
-rw-r--r--cpukit/posix/src/semaphorecreatesupp.c4
-rw-r--r--cpukit/posix/src/semaphoredeletesupp.c4
-rw-r--r--cpukit/posix/src/semaphoremp.c4
-rw-r--r--cpukit/posix/src/semaphorenametoid.c4
-rw-r--r--cpukit/posix/src/semaphorewaitsupp.c4
-rw-r--r--cpukit/posix/src/semclose.c4
-rw-r--r--cpukit/posix/src/semdestroy.c4
-rw-r--r--cpukit/posix/src/semgetvalue.c4
-rw-r--r--cpukit/posix/src/seminit.c4
-rw-r--r--cpukit/posix/src/semopen.c4
-rw-r--r--cpukit/posix/src/sempost.c4
-rw-r--r--cpukit/posix/src/semtimedwait.c4
-rw-r--r--cpukit/posix/src/semtrywait.c4
-rw-r--r--cpukit/posix/src/semunlink.c4
-rw-r--r--cpukit/posix/src/semwait.c4
-rw-r--r--cpukit/posix/src/setcancelstate.c4
-rw-r--r--cpukit/posix/src/setcanceltype.c4
-rw-r--r--cpukit/posix/src/setpgid.c4
-rw-r--r--cpukit/posix/src/setsid.c4
-rw-r--r--cpukit/posix/src/sigaction.c3
-rw-r--r--cpukit/posix/src/sigaddset.c3
-rw-r--r--cpukit/posix/src/sigdelset.c3
-rw-r--r--cpukit/posix/src/sigemptyset.c3
-rw-r--r--cpukit/posix/src/sigfillset.c3
-rw-r--r--cpukit/posix/src/sigismember.c3
-rw-r--r--cpukit/posix/src/signal_2.c3
-rw-r--r--cpukit/posix/src/sigpending.c3
-rw-r--r--cpukit/posix/src/sigprocmask.c3
-rw-r--r--cpukit/posix/src/sigqueue.c3
-rw-r--r--cpukit/posix/src/sigsuspend.c3
-rw-r--r--cpukit/posix/src/sigtimedwait.c3
-rw-r--r--cpukit/posix/src/sigwait.c3
-rw-r--r--cpukit/posix/src/sigwaitinfo.c4
-rw-r--r--cpukit/posix/src/sleep.c4
-rw-r--r--cpukit/posix/src/sysconf.c4
-rw-r--r--cpukit/posix/src/testcancel.c4
-rw-r--r--cpukit/posix/src/time.c4
-rw-r--r--cpukit/posix/src/types.c4
-rw-r--r--cpukit/posix/src/wait.c4
-rw-r--r--cpukit/posix/src/waitpid.c4
243 files changed, 934 insertions, 0 deletions
diff --git a/cpukit/itron/ChangeLog b/cpukit/itron/ChangeLog
index a254ef712f..1c4cb9a4bc 100644
--- a/cpukit/itron/ChangeLog
+++ b/cpukit/itron/ChangeLog
@@ -1,3 +1,10 @@
+2001-01-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * configure.in: Add src/config.h
+ * src/Makefile.am: Add INCLUDES += -I. to pickup config.h
+ * src/.cvsignore: Add config.h and stamp-h
+ * src/*.c: Add config.h support.
+
2000-12-01 Joel Sherrill <joel@OARcorp.com>
* Added macro support to ITRON API. This is known to compile.
diff --git a/cpukit/itron/src/.cvsignore b/cpukit/itron/src/.cvsignore
index 282522db03..9188ae45da 100644
--- a/cpukit/itron/src/.cvsignore
+++ b/cpukit/itron/src/.cvsignore
@@ -1,2 +1,6 @@
Makefile
Makefile.in
+stamp-h
+stamp-h.in
+config.h
+config.h.in
diff --git a/cpukit/itron/src/Makefile.am b/cpukit/itron/src/Makefile.am
index 9be487280a..106333d3a0 100644
--- a/cpukit/itron/src/Makefile.am
+++ b/cpukit/itron/src/Makefile.am
@@ -4,6 +4,8 @@
AUTOMAKE_OPTIONS = foreign 1.4
+INCLUDES += -I.
+
TASK_C_FILES = task.c cre_tsk.c del_tsk.c sta_tsk.c ext_tsk.c exd_tsk.c \
ter_tsk.c dis_dsp.c ena_dsp.c chg_pri.c rot_rdq.c rel_wai.c get_tid.c \
ref_tsk.c
diff --git a/cpukit/itron/src/can_wup.c b/cpukit/itron/src/can_wup.c
index 7b48bf5ffd..57fb24f8d0 100644
--- a/cpukit/itron/src/can_wup.c
+++ b/cpukit/itron/src/can_wup.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/chg_pri.c b/cpukit/itron/src/chg_pri.c
index 2d4d76d85f..9e0641c118 100644
--- a/cpukit/itron/src/chg_pri.c
+++ b/cpukit/itron/src/chg_pri.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/cre_mbf.c b/cpukit/itron/src/cre_mbf.c
index 0db738435e..4928501952 100644
--- a/cpukit/itron/src/cre_mbf.c
+++ b/cpukit/itron/src/cre_mbf.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/cre_mbx.c b/cpukit/itron/src/cre_mbx.c
index bd4c3e4c41..ed586512f5 100644
--- a/cpukit/itron/src/cre_mbx.c
+++ b/cpukit/itron/src/cre_mbx.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/mbox.h>
diff --git a/cpukit/itron/src/cre_sem.c b/cpukit/itron/src/cre_sem.c
index 322adc3d41..e32d8849c4 100644
--- a/cpukit/itron/src/cre_sem.c
+++ b/cpukit/itron/src/cre_sem.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/semaphore.h>
diff --git a/cpukit/itron/src/cre_tsk.c b/cpukit/itron/src/cre_tsk.c
index 2b81e36650..892722e766 100644
--- a/cpukit/itron/src/cre_tsk.c
+++ b/cpukit/itron/src/cre_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/del_mbf.c b/cpukit/itron/src/del_mbf.c
index 1b75602e75..4f89cf8f8c 100644
--- a/cpukit/itron/src/del_mbf.c
+++ b/cpukit/itron/src/del_mbf.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/del_mbx.c b/cpukit/itron/src/del_mbx.c
index 44d7e2df6e..e448336502 100644
--- a/cpukit/itron/src/del_mbx.c
+++ b/cpukit/itron/src/del_mbx.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/mbox.h>
diff --git a/cpukit/itron/src/del_sem.c b/cpukit/itron/src/del_sem.c
index 46a50f1890..4d507bd8bd 100644
--- a/cpukit/itron/src/del_sem.c
+++ b/cpukit/itron/src/del_sem.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/semaphore.h>
diff --git a/cpukit/itron/src/del_tsk.c b/cpukit/itron/src/del_tsk.c
index 43c2edef51..4b4a5b45c0 100644
--- a/cpukit/itron/src/del_tsk.c
+++ b/cpukit/itron/src/del_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/dis_dsp.c b/cpukit/itron/src/dis_dsp.c
index f16208a6e7..3c83e8788a 100644
--- a/cpukit/itron/src/dis_dsp.c
+++ b/cpukit/itron/src/dis_dsp.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/ena_dsp.c b/cpukit/itron/src/ena_dsp.c
index f2df3fdf09..d4abd4f0c4 100644
--- a/cpukit/itron/src/ena_dsp.c
+++ b/cpukit/itron/src/ena_dsp.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/eventflags.c b/cpukit/itron/src/eventflags.c
index f1a0858e92..2bed194beb 100644
--- a/cpukit/itron/src/eventflags.c
+++ b/cpukit/itron/src/eventflags.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/eventflags.h>
diff --git a/cpukit/itron/src/exd_tsk.c b/cpukit/itron/src/exd_tsk.c
index c9bc02dd04..2d6432da13 100644
--- a/cpukit/itron/src/exd_tsk.c
+++ b/cpukit/itron/src/exd_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <assert.h>
diff --git a/cpukit/itron/src/ext_tsk.c b/cpukit/itron/src/ext_tsk.c
index 482daf0b22..b9e4b6f4da 100644
--- a/cpukit/itron/src/ext_tsk.c
+++ b/cpukit/itron/src/ext_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/fmempool.c b/cpukit/itron/src/fmempool.c
index 93bbe56af1..2b5b2c769b 100644
--- a/cpukit/itron/src/fmempool.c
+++ b/cpukit/itron/src/fmempool.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/fmempool.h>
diff --git a/cpukit/itron/src/frsm_tsk.c b/cpukit/itron/src/frsm_tsk.c
index efa6f3457a..c77238afc1 100644
--- a/cpukit/itron/src/frsm_tsk.c
+++ b/cpukit/itron/src/frsm_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/get_tid.c b/cpukit/itron/src/get_tid.c
index 1e85eeb26f..a082291714 100644
--- a/cpukit/itron/src/get_tid.c
+++ b/cpukit/itron/src/get_tid.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/itronintr.c b/cpukit/itron/src/itronintr.c
index 8a07d9e215..7aaa57fe8f 100644
--- a/cpukit/itron/src/itronintr.c
+++ b/cpukit/itron/src/itronintr.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/intr.h>
diff --git a/cpukit/itron/src/itronsem.c b/cpukit/itron/src/itronsem.c
index 83686b4a44..662f771c94 100644
--- a/cpukit/itron/src/itronsem.c
+++ b/cpukit/itron/src/itronsem.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/semaphore.h>
diff --git a/cpukit/itron/src/itrontime.c b/cpukit/itron/src/itrontime.c
index e3ad47e8b5..fda7f9e030 100644
--- a/cpukit/itron/src/itrontime.c
+++ b/cpukit/itron/src/itrontime.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/mbox.c b/cpukit/itron/src/mbox.c
index 6d2deb8819..cff86d71e7 100644
--- a/cpukit/itron/src/mbox.c
+++ b/cpukit/itron/src/mbox.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/mbox.h>
diff --git a/cpukit/itron/src/mboxtranslatereturncode.c b/cpukit/itron/src/mboxtranslatereturncode.c
index aa28476199..6931d3b2b5 100644
--- a/cpukit/itron/src/mboxtranslatereturncode.c
+++ b/cpukit/itron/src/mboxtranslatereturncode.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/mbox.h>
diff --git a/cpukit/itron/src/msgbuffer.c b/cpukit/itron/src/msgbuffer.c
index e4cb4a4f20..48aec11504 100644
--- a/cpukit/itron/src/msgbuffer.c
+++ b/cpukit/itron/src/msgbuffer.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/msgbuffertranslatereturncode.c b/cpukit/itron/src/msgbuffertranslatereturncode.c
index 665b940180..bfb82007c0 100644
--- a/cpukit/itron/src/msgbuffertranslatereturncode.c
+++ b/cpukit/itron/src/msgbuffertranslatereturncode.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/network.c b/cpukit/itron/src/network.c
index fd0c27ce3f..e359dd4933 100644
--- a/cpukit/itron/src/network.c
+++ b/cpukit/itron/src/network.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/network.h>
diff --git a/cpukit/itron/src/port.c b/cpukit/itron/src/port.c
index df360e155d..061008e0cf 100644
--- a/cpukit/itron/src/port.c
+++ b/cpukit/itron/src/port.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/port.h>
diff --git a/cpukit/itron/src/prcv_mbf.c b/cpukit/itron/src/prcv_mbf.c
index d6d03c23e2..5376e23e41 100644
--- a/cpukit/itron/src/prcv_mbf.c
+++ b/cpukit/itron/src/prcv_mbf.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/prcv_mbx.c b/cpukit/itron/src/prcv_mbx.c
index de9e0445ee..b7c6b6b841 100644
--- a/cpukit/itron/src/prcv_mbx.c
+++ b/cpukit/itron/src/prcv_mbx.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/mbox.h>
diff --git a/cpukit/itron/src/preq_sem.c b/cpukit/itron/src/preq_sem.c
index 4e0803cd9d..db1473cb51 100644
--- a/cpukit/itron/src/preq_sem.c
+++ b/cpukit/itron/src/preq_sem.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/semaphore.h>
diff --git a/cpukit/itron/src/psnd_mbf.c b/cpukit/itron/src/psnd_mbf.c
index 6b833efe4f..e86e2ff244 100644
--- a/cpukit/itron/src/psnd_mbf.c
+++ b/cpukit/itron/src/psnd_mbf.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/rcv_mbf.c b/cpukit/itron/src/rcv_mbf.c
index 9bd46317f2..05dc57ba02 100644
--- a/cpukit/itron/src/rcv_mbf.c
+++ b/cpukit/itron/src/rcv_mbf.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/rcv_mbx.c b/cpukit/itron/src/rcv_mbx.c
index b91c9311b0..ae5a4f613a 100644
--- a/cpukit/itron/src/rcv_mbx.c
+++ b/cpukit/itron/src/rcv_mbx.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/mbox.h>
diff --git a/cpukit/itron/src/ref_mbf.c b/cpukit/itron/src/ref_mbf.c
index a75f6eb205..113870c0d6 100644
--- a/cpukit/itron/src/ref_mbf.c
+++ b/cpukit/itron/src/ref_mbf.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/ref_mbx.c b/cpukit/itron/src/ref_mbx.c
index 847add0c5e..6ae4e597bd 100644
--- a/cpukit/itron/src/ref_mbx.c
+++ b/cpukit/itron/src/ref_mbx.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/mbox.h>
diff --git a/cpukit/itron/src/ref_sem.c b/cpukit/itron/src/ref_sem.c
index 1d71356db4..b10625615b 100644
--- a/cpukit/itron/src/ref_sem.c
+++ b/cpukit/itron/src/ref_sem.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/semaphore.h>
diff --git a/cpukit/itron/src/ref_tsk.c b/cpukit/itron/src/ref_tsk.c
index 552ce9652b..ec28c4f45e 100644
--- a/cpukit/itron/src/ref_tsk.c
+++ b/cpukit/itron/src/ref_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/rel_wai.c b/cpukit/itron/src/rel_wai.c
index e98ea22265..6c7b47dbf4 100644
--- a/cpukit/itron/src/rel_wai.c
+++ b/cpukit/itron/src/rel_wai.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/rot_rdq.c b/cpukit/itron/src/rot_rdq.c
index a9b1df80db..56a992d558 100644
--- a/cpukit/itron/src/rot_rdq.c
+++ b/cpukit/itron/src/rot_rdq.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/rsm_tsk.c b/cpukit/itron/src/rsm_tsk.c
index da761fbbe7..2c4946f6a4 100644
--- a/cpukit/itron/src/rsm_tsk.c
+++ b/cpukit/itron/src/rsm_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/sig_sem.c b/cpukit/itron/src/sig_sem.c
index cf31bdb8f6..90bf6d36c1 100644
--- a/cpukit/itron/src/sig_sem.c
+++ b/cpukit/itron/src/sig_sem.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/semaphore.h>
diff --git a/cpukit/itron/src/slp_tsk.c b/cpukit/itron/src/slp_tsk.c
index 7fa312146f..0e22f34a80 100644
--- a/cpukit/itron/src/slp_tsk.c
+++ b/cpukit/itron/src/slp_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/snd_mbf.c b/cpukit/itron/src/snd_mbf.c
index 87fa5ca1e6..08142ab15b 100644
--- a/cpukit/itron/src/snd_mbf.c
+++ b/cpukit/itron/src/snd_mbf.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/snd_mbx.c b/cpukit/itron/src/snd_mbx.c
index e02714465e..40c740fc8d 100644
--- a/cpukit/itron/src/snd_mbx.c
+++ b/cpukit/itron/src/snd_mbx.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/mbox.h>
diff --git a/cpukit/itron/src/sta_tsk.c b/cpukit/itron/src/sta_tsk.c
index e30ebbcf58..5675eca9b2 100644
--- a/cpukit/itron/src/sta_tsk.c
+++ b/cpukit/itron/src/sta_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/sus_tsk.c b/cpukit/itron/src/sus_tsk.c
index 3143513f53..b40be824ea 100644
--- a/cpukit/itron/src/sus_tsk.c
+++ b/cpukit/itron/src/sus_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <itron.h>
diff --git a/cpukit/itron/src/sysmgmt.c b/cpukit/itron/src/sysmgmt.c
index 45704707d0..14e31c965a 100644
--- a/cpukit/itron/src/sysmgmt.c
+++ b/cpukit/itron/src/sysmgmt.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/sysmgmt.h>
diff --git a/cpukit/itron/src/task.c b/cpukit/itron/src/task.c
index e8f3b5ff70..1c8ea66c80 100644
--- a/cpukit/itron/src/task.c
+++ b/cpukit/itron/src/task.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/ter_tsk.c b/cpukit/itron/src/ter_tsk.c
index ae272e0857..dc0e6d3c5f 100644
--- a/cpukit/itron/src/ter_tsk.c
+++ b/cpukit/itron/src/ter_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/trcv_mbf.c b/cpukit/itron/src/trcv_mbf.c
index 0b2b89e612..a83b8379bd 100644
--- a/cpukit/itron/src/trcv_mbf.c
+++ b/cpukit/itron/src/trcv_mbf.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/trcv_mbx.c b/cpukit/itron/src/trcv_mbx.c
index 0c4350bb04..0b54db03f7 100644
--- a/cpukit/itron/src/trcv_mbx.c
+++ b/cpukit/itron/src/trcv_mbx.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/mbox.h>
diff --git a/cpukit/itron/src/tslp_tsk.c b/cpukit/itron/src/tslp_tsk.c
index 728a007a1b..ab297b0f6b 100644
--- a/cpukit/itron/src/tslp_tsk.c
+++ b/cpukit/itron/src/tslp_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/itron/src/tsnd_mbf.c b/cpukit/itron/src/tsnd_mbf.c
index 0ed3b4f90e..0116604eb7 100644
--- a/cpukit/itron/src/tsnd_mbf.c
+++ b/cpukit/itron/src/tsnd_mbf.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/msgbuffer.h>
diff --git a/cpukit/itron/src/twai_sem.c b/cpukit/itron/src/twai_sem.c
index f55916a22b..27122b7970 100644
--- a/cpukit/itron/src/twai_sem.c
+++ b/cpukit/itron/src/twai_sem.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/semaphore.h>
diff --git a/cpukit/itron/src/vmempool.c b/cpukit/itron/src/vmempool.c
index 7f0ee73021..601e574725 100644
--- a/cpukit/itron/src/vmempool.c
+++ b/cpukit/itron/src/vmempool.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/vmempool.h>
diff --git a/cpukit/itron/src/wai_sem.c b/cpukit/itron/src/wai_sem.c
index 5ac4dc61a3..dbcb93f2db 100644
--- a/cpukit/itron/src/wai_sem.c
+++ b/cpukit/itron/src/wai_sem.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/itron/semaphore.h>
diff --git a/cpukit/itron/src/wup_tsk.c b/cpukit/itron/src/wup_tsk.c
index b51646b3dd..10f2364ebc 100644
--- a/cpukit/itron/src/wup_tsk.c
+++ b/cpukit/itron/src/wup_tsk.c
@@ -9,6 +9,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <itron.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/libcsupport/src/utsname.c b/cpukit/libcsupport/src/utsname.c
index bf96d52cc4..1bde385550 100644
--- a/cpukit/libcsupport/src/utsname.c
+++ b/cpukit/libcsupport/src/utsname.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <string.h>
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog
index cb4d0c33fc..8835d2f3ad 100644
--- a/cpukit/posix/ChangeLog
+++ b/cpukit/posix/ChangeLog
@@ -1,3 +1,10 @@
+2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * configure.in: Add src/config.h
+ * src/Makefile.am: Add INCLUDES += -I. to pickup config.h
+ * src/.cvsignore: Add config.h and stamp-h
+ * src/*.c: Add config.h support.
+
2001-01-23 Joel Sherrill <joel@OARcorp.com>
* src/alarm.c: Eliminated use of C++ style comments.
diff --git a/cpukit/posix/src/.cvsignore b/cpukit/posix/src/.cvsignore
index 282522db03..9188ae45da 100644
--- a/cpukit/posix/src/.cvsignore
+++ b/cpukit/posix/src/.cvsignore
@@ -1,2 +1,6 @@
Makefile
Makefile.in
+stamp-h
+stamp-h.in
+config.h
+config.h.in
diff --git a/cpukit/posix/src/Makefile.am b/cpukit/posix/src/Makefile.am
index 76495d63ee..3df5b47f38 100644
--- a/cpukit/posix/src/Makefile.am
+++ b/cpukit/posix/src/Makefile.am
@@ -4,6 +4,8 @@
AUTOMAKE_OPTIONS = foreign 1.4
+INCLUDES += -I.
+
# following are semi-implemented and untested
UNUSED_C_FILES = devctl.c intr.c
diff --git a/cpukit/posix/src/adasupp.c b/cpukit/posix/src/adasupp.c
index 234b0c2a40..f1caf80023 100644
--- a/cpukit/posix/src/adasupp.c
+++ b/cpukit/posix/src/adasupp.c
@@ -1,6 +1,10 @@
/*
* $Id$
*/
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <assert.h>
#include <errno.h>
diff --git a/cpukit/posix/src/aio.c b/cpukit/posix/src/aio.c
index 3deb457676..3218f1dc97 100644
--- a/cpukit/posix/src/aio.c
+++ b/cpukit/posix/src/aio.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <aio.h>
#include <rtems/system.h>
diff --git a/cpukit/posix/src/alarm.c b/cpukit/posix/src/alarm.c
index 4be32f3dbf..13c4c40202 100644
--- a/cpukit/posix/src/alarm.c
+++ b/cpukit/posix/src/alarm.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
/* #include <errno.h> */
diff --git a/cpukit/posix/src/cancel.c b/cpukit/posix/src/cancel.c
index e5bd1f2208..88012040fb 100644
--- a/cpukit/posix/src/cancel.c
+++ b/cpukit/posix/src/cancel.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/cancelrun.c b/cpukit/posix/src/cancelrun.c
index 9de56f050b..1a120ba504 100644
--- a/cpukit/posix/src/cancelrun.c
+++ b/cpukit/posix/src/cancelrun.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/cleanuppop.c b/cpukit/posix/src/cleanuppop.c
index b9ea66a1cf..f9706bd408 100644
--- a/cpukit/posix/src/cleanuppop.c
+++ b/cpukit/posix/src/cleanuppop.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/cleanuppush.c b/cpukit/posix/src/cleanuppush.c
index 3dec1e6790..bf96212d8f 100644
--- a/cpukit/posix/src/cleanuppush.c
+++ b/cpukit/posix/src/cleanuppush.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/clockgetcpuclockid.c b/cpukit/posix/src/clockgetcpuclockid.c
index 4da1e3f886..96e554c1f5 100644
--- a/cpukit/posix/src/clockgetcpuclockid.c
+++ b/cpukit/posix/src/clockgetcpuclockid.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/clockgetenableattr.c b/cpukit/posix/src/clockgetenableattr.c
index 4669afea65..0d3fbebfb4 100644
--- a/cpukit/posix/src/clockgetenableattr.c
+++ b/cpukit/posix/src/clockgetenableattr.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/clockgetres.c b/cpukit/posix/src/clockgetres.c
index 8881fb9048..4b2c8fa6ef 100644
--- a/cpukit/posix/src/clockgetres.c
+++ b/cpukit/posix/src/clockgetres.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/clockgettime.c b/cpukit/posix/src/clockgettime.c
index c7e01102e3..e797f71e20 100644
--- a/cpukit/posix/src/clockgettime.c
+++ b/cpukit/posix/src/clockgettime.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/clocksetenableattr.c b/cpukit/posix/src/clocksetenableattr.c
index d1a2c8f601..f5a29920d1 100644
--- a/cpukit/posix/src/clocksetenableattr.c
+++ b/cpukit/posix/src/clocksetenableattr.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/clocksettime.c b/cpukit/posix/src/clocksettime.c
index a2d6031699..48dc8e114e 100644
--- a/cpukit/posix/src/clocksettime.c
+++ b/cpukit/posix/src/clocksettime.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/cond.c b/cpukit/posix/src/cond.c
index 32a1fea3f5..df3780290f 100644
--- a/cpukit/posix/src/cond.c
+++ b/cpukit/posix/src/cond.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condattrdestroy.c b/cpukit/posix/src/condattrdestroy.c
index f0e58eda06..14ab750706 100644
--- a/cpukit/posix/src/condattrdestroy.c
+++ b/cpukit/posix/src/condattrdestroy.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condattrgetpshared.c b/cpukit/posix/src/condattrgetpshared.c
index 7e2e7944a3..e1d7094764 100644
--- a/cpukit/posix/src/condattrgetpshared.c
+++ b/cpukit/posix/src/condattrgetpshared.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condattrinit.c b/cpukit/posix/src/condattrinit.c
index 891540227f..54f4c8bbd7 100644
--- a/cpukit/posix/src/condattrinit.c
+++ b/cpukit/posix/src/condattrinit.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condattrsetpshared.c b/cpukit/posix/src/condattrsetpshared.c
index 6c5b0e5301..976091f722 100644
--- a/cpukit/posix/src/condattrsetpshared.c
+++ b/cpukit/posix/src/condattrsetpshared.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condbroadcast.c b/cpukit/posix/src/condbroadcast.c
index 5a55e75b23..bba153fbc7 100644
--- a/cpukit/posix/src/condbroadcast.c
+++ b/cpukit/posix/src/condbroadcast.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/conddefaultattributes.c b/cpukit/posix/src/conddefaultattributes.c
index a45b96f3c8..2dc5ef7fcc 100644
--- a/cpukit/posix/src/conddefaultattributes.c
+++ b/cpukit/posix/src/conddefaultattributes.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/conddestroy.c b/cpukit/posix/src/conddestroy.c
index abfe07fc74..012a48148d 100644
--- a/cpukit/posix/src/conddestroy.c
+++ b/cpukit/posix/src/conddestroy.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condinit.c b/cpukit/posix/src/condinit.c
index 37b11878b0..c227299bfe 100644
--- a/cpukit/posix/src/condinit.c
+++ b/cpukit/posix/src/condinit.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condmp.c b/cpukit/posix/src/condmp.c
index c085ab4976..d5f60271fc 100644
--- a/cpukit/posix/src/condmp.c
+++ b/cpukit/posix/src/condmp.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condsignal.c b/cpukit/posix/src/condsignal.c
index 52fb89e91e..73489a8abe 100644
--- a/cpukit/posix/src/condsignal.c
+++ b/cpukit/posix/src/condsignal.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condsignalsupp.c b/cpukit/posix/src/condsignalsupp.c
index e6b4d6a1a3..45df6c6056 100644
--- a/cpukit/posix/src/condsignalsupp.c
+++ b/cpukit/posix/src/condsignalsupp.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condtimedwait.c b/cpukit/posix/src/condtimedwait.c
index ed6d676293..6828393a89 100644
--- a/cpukit/posix/src/condtimedwait.c
+++ b/cpukit/posix/src/condtimedwait.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condwait.c b/cpukit/posix/src/condwait.c
index 74bc0fba0f..24af0603a7 100644
--- a/cpukit/posix/src/condwait.c
+++ b/cpukit/posix/src/condwait.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/condwaitsupp.c b/cpukit/posix/src/condwaitsupp.c
index 13827aa725..29995dd629 100644
--- a/cpukit/posix/src/condwaitsupp.c
+++ b/cpukit/posix/src/condwaitsupp.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/devctl.c b/cpukit/posix/src/devctl.c
index 699bc2d228..9800a109eb 100644
--- a/cpukit/posix/src/devctl.c
+++ b/cpukit/posix/src/devctl.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <devctl.h>
#include <rtems/system.h>
diff --git a/cpukit/posix/src/execl.c b/cpukit/posix/src/execl.c
index af26b539d5..c3cba9833b 100644
--- a/cpukit/posix/src/execl.c
+++ b/cpukit/posix/src/execl.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
int execl(
diff --git a/cpukit/posix/src/execle.c b/cpukit/posix/src/execle.c
index 94b0ede939..f2cd1765d2 100644
--- a/cpukit/posix/src/execle.c
+++ b/cpukit/posix/src/execle.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
int execle(
diff --git a/cpukit/posix/src/execlp.c b/cpukit/posix/src/execlp.c
index 83b6ceba33..2b2afc05a6 100644
--- a/cpukit/posix/src/execlp.c
+++ b/cpukit/posix/src/execlp.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
int execlp(
diff --git a/cpukit/posix/src/execv.c b/cpukit/posix/src/execv.c
index 3a2d41d107..857999333c 100644
--- a/cpukit/posix/src/execv.c
+++ b/cpukit/posix/src/execv.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
int execv(
diff --git a/cpukit/posix/src/execve.c b/cpukit/posix/src/execve.c
index ee3415b154..e7c345b4fb 100644
--- a/cpukit/posix/src/execve.c
+++ b/cpukit/posix/src/execve.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
int execve(
diff --git a/cpukit/posix/src/execvp.c b/cpukit/posix/src/execvp.c
index 19f49fec58..fd3c481237 100644
--- a/cpukit/posix/src/execvp.c
+++ b/cpukit/posix/src/execvp.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
int execvp(
diff --git a/cpukit/posix/src/fork.c b/cpukit/posix/src/fork.c
index 11cac91bdb..1d67da7694 100644
--- a/cpukit/posix/src/fork.c
+++ b/cpukit/posix/src/fork.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <errno.h>
diff --git a/cpukit/posix/src/getegid.c b/cpukit/posix/src/getegid.c
index f3fbce989d..0eee106fe6 100644
--- a/cpukit/posix/src/getegid.c
+++ b/cpukit/posix/src/getegid.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/geteuid.c b/cpukit/posix/src/geteuid.c
index 0b149a1d2a..04e59f2fe6 100644
--- a/cpukit/posix/src/geteuid.c
+++ b/cpukit/posix/src/geteuid.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/getgid.c b/cpukit/posix/src/getgid.c
index 70da92aa6c..4b50762ede 100644
--- a/cpukit/posix/src/getgid.c
+++ b/cpukit/posix/src/getgid.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/getgroups.c b/cpukit/posix/src/getgroups.c
index 20ec49c3ed..b46cc6163a 100644
--- a/cpukit/posix/src/getgroups.c
+++ b/cpukit/posix/src/getgroups.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/getlogin.c b/cpukit/posix/src/getlogin.c
index 784db273e1..3e4d320b89 100644
--- a/cpukit/posix/src/getlogin.c
+++ b/cpukit/posix/src/getlogin.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/getpgrp.c b/cpukit/posix/src/getpgrp.c
index dd39b31c9f..0904d23883 100644
--- a/cpukit/posix/src/getpgrp.c
+++ b/cpukit/posix/src/getpgrp.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/getpid.c b/cpukit/posix/src/getpid.c
index e3c5a286ea..5442b6468d 100644
--- a/cpukit/posix/src/getpid.c
+++ b/cpukit/posix/src/getpid.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/getppid.c b/cpukit/posix/src/getppid.c
index 239a47511f..f8a2f7bbf1 100644
--- a/cpukit/posix/src/getppid.c
+++ b/cpukit/posix/src/getppid.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/getuid.c b/cpukit/posix/src/getuid.c
index dec4a00a85..de8a521693 100644
--- a/cpukit/posix/src/getuid.c
+++ b/cpukit/posix/src/getuid.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/intr.c b/cpukit/posix/src/intr.c
index 5d41a5fe52..251d0cb2d4 100644
--- a/cpukit/posix/src/intr.c
+++ b/cpukit/posix/src/intr.c
@@ -8,6 +8,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <intr.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/key.c b/cpukit/posix/src/key.c
index b61387056f..fb92a9bb79 100644
--- a/cpukit/posix/src/key.c
+++ b/cpukit/posix/src/key.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <limits.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/keycreate.c b/cpukit/posix/src/keycreate.c
index f5409b31e9..bf3f7501cb 100644
--- a/cpukit/posix/src/keycreate.c
+++ b/cpukit/posix/src/keycreate.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <limits.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/keydelete.c b/cpukit/posix/src/keydelete.c
index 5d4c93ab1d..6c2fa4be36 100644
--- a/cpukit/posix/src/keydelete.c
+++ b/cpukit/posix/src/keydelete.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <limits.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/keygetspecific.c b/cpukit/posix/src/keygetspecific.c
index 0ba560feb6..b0529bd96e 100644
--- a/cpukit/posix/src/keygetspecific.c
+++ b/cpukit/posix/src/keygetspecific.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <limits.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/keyrundestructors.c b/cpukit/posix/src/keyrundestructors.c
index b3047f5fe8..f07e9fe548 100644
--- a/cpukit/posix/src/keyrundestructors.c
+++ b/cpukit/posix/src/keyrundestructors.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <limits.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/keysetspecific.c b/cpukit/posix/src/keysetspecific.c
index d66771a11a..0f51f08d6b 100644
--- a/cpukit/posix/src/keysetspecific.c
+++ b/cpukit/posix/src/keysetspecific.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <limits.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/kill.c b/cpukit/posix/src/kill.c
index 63dff6bb7d..d045939432 100644
--- a/cpukit/posix/src/kill.c
+++ b/cpukit/posix/src/kill.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/killinfo.c b/cpukit/posix/src/killinfo.c
index 5d928a8785..7d353597d1 100644
--- a/cpukit/posix/src/killinfo.c
+++ b/cpukit/posix/src/killinfo.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <signal.h>
diff --git a/cpukit/posix/src/mqueue.c b/cpukit/posix/src/mqueue.c
index a6673038f1..5fda3bf2cd 100644
--- a/cpukit/posix/src/mqueue.c
+++ b/cpukit/posix/src/mqueue.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueueclose.c b/cpukit/posix/src/mqueueclose.c
index 1ccd3de638..b0c1930bfa 100644
--- a/cpukit/posix/src/mqueueclose.c
+++ b/cpukit/posix/src/mqueueclose.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuecreatesupp.c b/cpukit/posix/src/mqueuecreatesupp.c
index d1299e018c..36d638299a 100644
--- a/cpukit/posix/src/mqueuecreatesupp.c
+++ b/cpukit/posix/src/mqueuecreatesupp.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuedeletesupp.c b/cpukit/posix/src/mqueuedeletesupp.c
index df16188159..dfafbb578f 100644
--- a/cpukit/posix/src/mqueuedeletesupp.c
+++ b/cpukit/posix/src/mqueuedeletesupp.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuegetattr.c b/cpukit/posix/src/mqueuegetattr.c
index 429037ada2..3eb5236b55 100644
--- a/cpukit/posix/src/mqueuegetattr.c
+++ b/cpukit/posix/src/mqueuegetattr.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuenametoid.c b/cpukit/posix/src/mqueuenametoid.c
index 635a74b538..914b84351f 100644
--- a/cpukit/posix/src/mqueuenametoid.c
+++ b/cpukit/posix/src/mqueuenametoid.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuenotify.c b/cpukit/posix/src/mqueuenotify.c
index 0d5a79c55a..612d3760f1 100644
--- a/cpukit/posix/src/mqueuenotify.c
+++ b/cpukit/posix/src/mqueuenotify.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueueopen.c b/cpukit/posix/src/mqueueopen.c
index af3a0957f9..c50a170fed 100644
--- a/cpukit/posix/src/mqueueopen.c
+++ b/cpukit/posix/src/mqueueopen.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuereceive.c b/cpukit/posix/src/mqueuereceive.c
index ac11c5369e..817876bc81 100644
--- a/cpukit/posix/src/mqueuereceive.c
+++ b/cpukit/posix/src/mqueuereceive.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuerecvsupp.c b/cpukit/posix/src/mqueuerecvsupp.c
index 6c0fafeeac..244487934f 100644
--- a/cpukit/posix/src/mqueuerecvsupp.c
+++ b/cpukit/posix/src/mqueuerecvsupp.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuesend.c b/cpukit/posix/src/mqueuesend.c
index bb161833ea..c1dc8b18f8 100644
--- a/cpukit/posix/src/mqueuesend.c
+++ b/cpukit/posix/src/mqueuesend.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuesendsupp.c b/cpukit/posix/src/mqueuesendsupp.c
index 3cd1ed6a3e..efa0545125 100644
--- a/cpukit/posix/src/mqueuesendsupp.c
+++ b/cpukit/posix/src/mqueuesendsupp.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuesetattr.c b/cpukit/posix/src/mqueuesetattr.c
index 5c06ce8ef2..217d8d54f2 100644
--- a/cpukit/posix/src/mqueuesetattr.c
+++ b/cpukit/posix/src/mqueuesetattr.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuetimedreceive.c b/cpukit/posix/src/mqueuetimedreceive.c
index 825522ecb8..57af696e81 100644
--- a/cpukit/posix/src/mqueuetimedreceive.c
+++ b/cpukit/posix/src/mqueuetimedreceive.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuetimedsend.c b/cpukit/posix/src/mqueuetimedsend.c
index 3bc89c8014..3893921947 100644
--- a/cpukit/posix/src/mqueuetimedsend.c
+++ b/cpukit/posix/src/mqueuetimedsend.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mqueuetranslatereturncode.c b/cpukit/posix/src/mqueuetranslatereturncode.c
index e5cf26ac95..6618f59dd0 100644
--- a/cpukit/posix/src/mqueuetranslatereturncode.c
+++ b/cpukit/posix/src/mqueuetranslatereturncode.c
@@ -12,6 +12,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <limits.h>
#include <errno.h>
diff --git a/cpukit/posix/src/mqueueunlink.c b/cpukit/posix/src/mqueueunlink.c
index 73051d72a0..ac0cc92faf 100644
--- a/cpukit/posix/src/mqueueunlink.c
+++ b/cpukit/posix/src/mqueueunlink.c
@@ -14,6 +14,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutex.c b/cpukit/posix/src/mutex.c
index 8ffbd225ae..d848c11559 100644
--- a/cpukit/posix/src/mutex.c
+++ b/cpukit/posix/src/mutex.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexattrdestroy.c b/cpukit/posix/src/mutexattrdestroy.c
index 0de7ed2876..32937636e5 100644
--- a/cpukit/posix/src/mutexattrdestroy.c
+++ b/cpukit/posix/src/mutexattrdestroy.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexattrgetprioceiling.c b/cpukit/posix/src/mutexattrgetprioceiling.c
index 63181e1764..5c2d7ef576 100644
--- a/cpukit/posix/src/mutexattrgetprioceiling.c
+++ b/cpukit/posix/src/mutexattrgetprioceiling.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexattrgetprotocol.c b/cpukit/posix/src/mutexattrgetprotocol.c
index 6dbb9c2766..2e6d1e36fb 100644
--- a/cpukit/posix/src/mutexattrgetprotocol.c
+++ b/cpukit/posix/src/mutexattrgetprotocol.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexattrgetpshared.c b/cpukit/posix/src/mutexattrgetpshared.c
index 2a416c72f6..3374b250ba 100644
--- a/cpukit/posix/src/mutexattrgetpshared.c
+++ b/cpukit/posix/src/mutexattrgetpshared.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexattrinit.c b/cpukit/posix/src/mutexattrinit.c
index c437c6c585..0cd6783ce8 100644
--- a/cpukit/posix/src/mutexattrinit.c
+++ b/cpukit/posix/src/mutexattrinit.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexattrsetprioceiling.c b/cpukit/posix/src/mutexattrsetprioceiling.c
index 559d50852f..dc2e8d08e6 100644
--- a/cpukit/posix/src/mutexattrsetprioceiling.c
+++ b/cpukit/posix/src/mutexattrsetprioceiling.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexattrsetprotocol.c b/cpukit/posix/src/mutexattrsetprotocol.c
index a8e6cdb8ba..e92bdefe55 100644
--- a/cpukit/posix/src/mutexattrsetprotocol.c
+++ b/cpukit/posix/src/mutexattrsetprotocol.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexattrsetpshared.c b/cpukit/posix/src/mutexattrsetpshared.c
index 46cb29a63f..bcc493b3b6 100644
--- a/cpukit/posix/src/mutexattrsetpshared.c
+++ b/cpukit/posix/src/mutexattrsetpshared.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexdefaultattributes.c b/cpukit/posix/src/mutexdefaultattributes.c
index 46e8ae5158..3324a727f9 100644
--- a/cpukit/posix/src/mutexdefaultattributes.c
+++ b/cpukit/posix/src/mutexdefaultattributes.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexdestroy.c b/cpukit/posix/src/mutexdestroy.c
index 33debda77c..51507b5b28 100644
--- a/cpukit/posix/src/mutexdestroy.c
+++ b/cpukit/posix/src/mutexdestroy.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexfromcorestatus.c b/cpukit/posix/src/mutexfromcorestatus.c
index e8c8baa5af..3c6f617861 100644
--- a/cpukit/posix/src/mutexfromcorestatus.c
+++ b/cpukit/posix/src/mutexfromcorestatus.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexgetprioceiling.c b/cpukit/posix/src/mutexgetprioceiling.c
index 81fdbeaa9d..4e43325560 100644
--- a/cpukit/posix/src/mutexgetprioceiling.c
+++ b/cpukit/posix/src/mutexgetprioceiling.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexinit.c b/cpukit/posix/src/mutexinit.c
index f72edf694a..84a0c2b5b7 100644
--- a/cpukit/posix/src/mutexinit.c
+++ b/cpukit/posix/src/mutexinit.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexlock.c b/cpukit/posix/src/mutexlock.c
index 45f223b817..ce09506090 100644
--- a/cpukit/posix/src/mutexlock.c
+++ b/cpukit/posix/src/mutexlock.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexlocksupp.c b/cpukit/posix/src/mutexlocksupp.c
index 205fa43c8e..6db15c172f 100644
--- a/cpukit/posix/src/mutexlocksupp.c
+++ b/cpukit/posix/src/mutexlocksupp.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexmp.c b/cpukit/posix/src/mutexmp.c
index dbdb44b708..75db779ce4 100644
--- a/cpukit/posix/src/mutexmp.c
+++ b/cpukit/posix/src/mutexmp.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexsetprioceiling.c b/cpukit/posix/src/mutexsetprioceiling.c
index 9d491d438b..b1cd4c48d8 100644
--- a/cpukit/posix/src/mutexsetprioceiling.c
+++ b/cpukit/posix/src/mutexsetprioceiling.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutextimedlock.c b/cpukit/posix/src/mutextimedlock.c
index db9f598460..2a0bbbfbb2 100644
--- a/cpukit/posix/src/mutextimedlock.c
+++ b/cpukit/posix/src/mutextimedlock.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutextrylock.c b/cpukit/posix/src/mutextrylock.c
index cccda832b6..87d6a47790 100644
--- a/cpukit/posix/src/mutextrylock.c
+++ b/cpukit/posix/src/mutextrylock.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/mutexunlock.c b/cpukit/posix/src/mutexunlock.c
index 3b6fdcc7e0..7169c7a2b1 100644
--- a/cpukit/posix/src/mutexunlock.c
+++ b/cpukit/posix/src/mutexunlock.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/nanosleep.c b/cpukit/posix/src/nanosleep.c
index 419b559ca7..de2df3c98f 100644
--- a/cpukit/posix/src/nanosleep.c
+++ b/cpukit/posix/src/nanosleep.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pause.c b/cpukit/posix/src/pause.c
index 628908b44d..5b0ceb9efc 100644
--- a/cpukit/posix/src/pause.c
+++ b/cpukit/posix/src/pause.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <signal.h>
diff --git a/cpukit/posix/src/posixintervaltotimespec.c b/cpukit/posix/src/posixintervaltotimespec.c
index e26750341e..4443f4d308 100644
--- a/cpukit/posix/src/posixintervaltotimespec.c
+++ b/cpukit/posix/src/posixintervaltotimespec.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/posixtimespecsubtract.c b/cpukit/posix/src/posixtimespecsubtract.c
index d8256bb835..1b6cc75902 100644
--- a/cpukit/posix/src/posixtimespecsubtract.c
+++ b/cpukit/posix/src/posixtimespecsubtract.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/posixtimespectointerval.c b/cpukit/posix/src/posixtimespectointerval.c
index 9f4c6727f1..5aa5f0c56f 100644
--- a/cpukit/posix/src/posixtimespectointerval.c
+++ b/cpukit/posix/src/posixtimespectointerval.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c
index 07c2ad5b07..f5e4ea17f9 100644
--- a/cpukit/posix/src/psignal.c
+++ b/cpukit/posix/src/psignal.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/psignalchecksignal.c b/cpukit/posix/src/psignalchecksignal.c
index d2a8c11bcc..74ee70b906 100644
--- a/cpukit/posix/src/psignalchecksignal.c
+++ b/cpukit/posix/src/psignalchecksignal.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/psignalclearprocesssignals.c b/cpukit/posix/src/psignalclearprocesssignals.c
index 2e16cbe3bb..1ff39534d3 100644
--- a/cpukit/posix/src/psignalclearprocesssignals.c
+++ b/cpukit/posix/src/psignalclearprocesssignals.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/psignalclearsignals.c b/cpukit/posix/src/psignalclearsignals.c
index aacbcb8c84..69517f5dc5 100644
--- a/cpukit/posix/src/psignalclearsignals.c
+++ b/cpukit/posix/src/psignalclearsignals.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/psignalsetprocesssignals.c b/cpukit/posix/src/psignalsetprocesssignals.c
index bc56e89e24..b2f6599b4d 100644
--- a/cpukit/posix/src/psignalsetprocesssignals.c
+++ b/cpukit/posix/src/psignalsetprocesssignals.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/psignalunblockthread.c b/cpukit/posix/src/psignalunblockthread.c
index 25ed95ab39..3141c840c4 100644
--- a/cpukit/posix/src/psignalunblockthread.c
+++ b/cpukit/posix/src/psignalunblockthread.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c
index 46a41a1da5..dc066bc807 100644
--- a/cpukit/posix/src/pthread.c
+++ b/cpukit/posix/src/pthread.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <errno.h>
#include <pthread.h>
diff --git a/cpukit/posix/src/pthreadatfork.c b/cpukit/posix/src/pthreadatfork.c
index 07364b2195..f8eaf6da90 100644
--- a/cpukit/posix/src/pthreadatfork.c
+++ b/cpukit/posix/src/pthreadatfork.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrdestroy.c b/cpukit/posix/src/pthreadattrdestroy.c
index be30152520..0512a51dc1 100644
--- a/cpukit/posix/src/pthreadattrdestroy.c
+++ b/cpukit/posix/src/pthreadattrdestroy.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrgetdetachstate.c b/cpukit/posix/src/pthreadattrgetdetachstate.c
index 244e902144..98752472a8 100644
--- a/cpukit/posix/src/pthreadattrgetdetachstate.c
+++ b/cpukit/posix/src/pthreadattrgetdetachstate.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrgetinheritsched.c b/cpukit/posix/src/pthreadattrgetinheritsched.c
index 6b68093be2..12daea381e 100644
--- a/cpukit/posix/src/pthreadattrgetinheritsched.c
+++ b/cpukit/posix/src/pthreadattrgetinheritsched.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrgetschedparam.c b/cpukit/posix/src/pthreadattrgetschedparam.c
index 91da6b3c80..913af08171 100644
--- a/cpukit/posix/src/pthreadattrgetschedparam.c
+++ b/cpukit/posix/src/pthreadattrgetschedparam.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrgetschedpolicy.c b/cpukit/posix/src/pthreadattrgetschedpolicy.c
index 2fd6df4851..b8d2c2a26b 100644
--- a/cpukit/posix/src/pthreadattrgetschedpolicy.c
+++ b/cpukit/posix/src/pthreadattrgetschedpolicy.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrgetscope.c b/cpukit/posix/src/pthreadattrgetscope.c
index 9bf459fdf5..2488e4dd59 100644
--- a/cpukit/posix/src/pthreadattrgetscope.c
+++ b/cpukit/posix/src/pthreadattrgetscope.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrgetstackaddr.c b/cpukit/posix/src/pthreadattrgetstackaddr.c
index 07642796c0..d39fad1ca9 100644
--- a/cpukit/posix/src/pthreadattrgetstackaddr.c
+++ b/cpukit/posix/src/pthreadattrgetstackaddr.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrgetstacksize.c b/cpukit/posix/src/pthreadattrgetstacksize.c
index d160fe51b1..d5e8d6cfd8 100644
--- a/cpukit/posix/src/pthreadattrgetstacksize.c
+++ b/cpukit/posix/src/pthreadattrgetstacksize.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrinit.c b/cpukit/posix/src/pthreadattrinit.c
index a70bd97eaf..661a107ed8 100644
--- a/cpukit/posix/src/pthreadattrinit.c
+++ b/cpukit/posix/src/pthreadattrinit.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrsetdetachstate.c b/cpukit/posix/src/pthreadattrsetdetachstate.c
index 74482d2507..7c543286f4 100644
--- a/cpukit/posix/src/pthreadattrsetdetachstate.c
+++ b/cpukit/posix/src/pthreadattrsetdetachstate.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrsetinheritsched.c b/cpukit/posix/src/pthreadattrsetinheritsched.c
index a44f887cde..63dbd60b23 100644
--- a/cpukit/posix/src/pthreadattrsetinheritsched.c
+++ b/cpukit/posix/src/pthreadattrsetinheritsched.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrsetschedparam.c b/cpukit/posix/src/pthreadattrsetschedparam.c
index 3c9a3c0644..6cd341264f 100644
--- a/cpukit/posix/src/pthreadattrsetschedparam.c
+++ b/cpukit/posix/src/pthreadattrsetschedparam.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrsetschedpolicy.c b/cpukit/posix/src/pthreadattrsetschedpolicy.c
index e13ef77263..fddcb9033c 100644
--- a/cpukit/posix/src/pthreadattrsetschedpolicy.c
+++ b/cpukit/posix/src/pthreadattrsetschedpolicy.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrsetscope.c b/cpukit/posix/src/pthreadattrsetscope.c
index 0adc6181f7..d9051e8d2c 100644
--- a/cpukit/posix/src/pthreadattrsetscope.c
+++ b/cpukit/posix/src/pthreadattrsetscope.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrsetstackaddr.c b/cpukit/posix/src/pthreadattrsetstackaddr.c
index d8cf5fd807..0278074d3a 100644
--- a/cpukit/posix/src/pthreadattrsetstackaddr.c
+++ b/cpukit/posix/src/pthreadattrsetstackaddr.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadattrsetstacksize.c b/cpukit/posix/src/pthreadattrsetstacksize.c
index 19696fd664..5fb3849b0f 100644
--- a/cpukit/posix/src/pthreadattrsetstacksize.c
+++ b/cpukit/posix/src/pthreadattrsetstacksize.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadcreate.c b/cpukit/posix/src/pthreadcreate.c
index 73063c7f0e..7c6e7db132 100644
--- a/cpukit/posix/src/pthreadcreate.c
+++ b/cpukit/posix/src/pthreadcreate.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreaddetach.c b/cpukit/posix/src/pthreaddetach.c
index aa3e2054d5..91679c9807 100644
--- a/cpukit/posix/src/pthreaddetach.c
+++ b/cpukit/posix/src/pthreaddetach.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadequal.c b/cpukit/posix/src/pthreadequal.c
index 60bd0ba2ad..c405762291 100644
--- a/cpukit/posix/src/pthreadequal.c
+++ b/cpukit/posix/src/pthreadequal.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadexit.c b/cpukit/posix/src/pthreadexit.c
index a4a2281e16..82217964b0 100644
--- a/cpukit/posix/src/pthreadexit.c
+++ b/cpukit/posix/src/pthreadexit.c
@@ -13,6 +13,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadgetcpuclockid.c b/cpukit/posix/src/pthreadgetcpuclockid.c
index d9ff80b34a..9757b6b86d 100644
--- a/cpukit/posix/src/pthreadgetcpuclockid.c
+++ b/cpukit/posix/src/pthreadgetcpuclockid.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadgetcputime.c b/cpukit/posix/src/pthreadgetcputime.c
index 2dc56a2526..4018a6f655 100644
--- a/cpukit/posix/src/pthreadgetcputime.c
+++ b/cpukit/posix/src/pthreadgetcputime.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadgetschedparam.c b/cpukit/posix/src/pthreadgetschedparam.c
index 055fd45ac8..6266891582 100644
--- a/cpukit/posix/src/pthreadgetschedparam.c
+++ b/cpukit/posix/src/pthreadgetschedparam.c
@@ -12,6 +12,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadjoin.c b/cpukit/posix/src/pthreadjoin.c
index 491e2406e6..2769245e8c 100644
--- a/cpukit/posix/src/pthreadjoin.c
+++ b/cpukit/posix/src/pthreadjoin.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadkill.c b/cpukit/posix/src/pthreadkill.c
index 3b789fc8e7..1ce56b273d 100644
--- a/cpukit/posix/src/pthreadkill.c
+++ b/cpukit/posix/src/pthreadkill.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <signal.h>
diff --git a/cpukit/posix/src/pthreadonce.c b/cpukit/posix/src/pthreadonce.c
index 49b3f31bc4..6026dfe7c0 100644
--- a/cpukit/posix/src/pthreadonce.c
+++ b/cpukit/posix/src/pthreadonce.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadself.c b/cpukit/posix/src/pthreadself.c
index 838a7d3b8c..cfa23844a4 100644
--- a/cpukit/posix/src/pthreadself.c
+++ b/cpukit/posix/src/pthreadself.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadsetcputime.c b/cpukit/posix/src/pthreadsetcputime.c
index 866a324f0e..cb3003e667 100644
--- a/cpukit/posix/src/pthreadsetcputime.c
+++ b/cpukit/posix/src/pthreadsetcputime.c
@@ -11,6 +11,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadsetschedparam.c b/cpukit/posix/src/pthreadsetschedparam.c
index 62ec3d888d..44c5e2ec36 100644
--- a/cpukit/posix/src/pthreadsetschedparam.c
+++ b/cpukit/posix/src/pthreadsetschedparam.c
@@ -12,6 +12,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/pthreadsigmask.c b/cpukit/posix/src/pthreadsigmask.c
index d9e69b52f2..618061ee16 100644
--- a/cpukit/posix/src/pthreadsigmask.c
+++ b/cpukit/posix/src/pthreadsigmask.c
@@ -13,6 +13,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <signal.h>
diff --git a/cpukit/posix/src/ptimer.c b/cpukit/posix/src/ptimer.c
index ab51dcc9bb..40688916f0 100644
--- a/cpukit/posix/src/ptimer.c
+++ b/cpukit/posix/src/ptimer.c
@@ -1,6 +1,10 @@
/*
* ptimer.c,v 1.1 1996/06/03 16:29:58 joel Exp
*/
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <assert.h>
#include <time.h>
diff --git a/cpukit/posix/src/ptimer1.c b/cpukit/posix/src/ptimer1.c
index eee24d966c..08eb003b03 100644
--- a/cpukit/posix/src/ptimer1.c
+++ b/cpukit/posix/src/ptimer1.c
@@ -1,6 +1,10 @@
/*
* ptimer.c,v 1.1 1996/06/03 16:29:58 joel Exp
*/
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <assert.h>
#include <time.h>
diff --git a/cpukit/posix/src/sched.c b/cpukit/posix/src/sched.c
index 32ae41f5fa..767a9e270b 100644
--- a/cpukit/posix/src/sched.c
+++ b/cpukit/posix/src/sched.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <sched.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semaphore.c b/cpukit/posix/src/semaphore.c
index af52b80623..c473dfed4b 100644
--- a/cpukit/posix/src/semaphore.c
+++ b/cpukit/posix/src/semaphore.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semaphorecreatesupp.c b/cpukit/posix/src/semaphorecreatesupp.c
index a9500ddd12..aa04d95999 100644
--- a/cpukit/posix/src/semaphorecreatesupp.c
+++ b/cpukit/posix/src/semaphorecreatesupp.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semaphoredeletesupp.c b/cpukit/posix/src/semaphoredeletesupp.c
index 22332617fa..a0d8e5ea12 100644
--- a/cpukit/posix/src/semaphoredeletesupp.c
+++ b/cpukit/posix/src/semaphoredeletesupp.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semaphoremp.c b/cpukit/posix/src/semaphoremp.c
index af2cff052d..d5a4cf9f1e 100644
--- a/cpukit/posix/src/semaphoremp.c
+++ b/cpukit/posix/src/semaphoremp.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semaphorenametoid.c b/cpukit/posix/src/semaphorenametoid.c
index b485fea1e5..e5d15cd7ed 100644
--- a/cpukit/posix/src/semaphorenametoid.c
+++ b/cpukit/posix/src/semaphorenametoid.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semaphorewaitsupp.c b/cpukit/posix/src/semaphorewaitsupp.c
index 816651361f..a3c9315cd7 100644
--- a/cpukit/posix/src/semaphorewaitsupp.c
+++ b/cpukit/posix/src/semaphorewaitsupp.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semclose.c b/cpukit/posix/src/semclose.c
index 5088c26f48..3336570b32 100644
--- a/cpukit/posix/src/semclose.c
+++ b/cpukit/posix/src/semclose.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semdestroy.c b/cpukit/posix/src/semdestroy.c
index 5c5becac88..dd40eef673 100644
--- a/cpukit/posix/src/semdestroy.c
+++ b/cpukit/posix/src/semdestroy.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semgetvalue.c b/cpukit/posix/src/semgetvalue.c
index 2b93bf02fa..6f27b5e2c7 100644
--- a/cpukit/posix/src/semgetvalue.c
+++ b/cpukit/posix/src/semgetvalue.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/seminit.c b/cpukit/posix/src/seminit.c
index 74a6499329..5b8b8f177f 100644
--- a/cpukit/posix/src/seminit.c
+++ b/cpukit/posix/src/seminit.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semopen.c b/cpukit/posix/src/semopen.c
index 0d8797696a..1e42084832 100644
--- a/cpukit/posix/src/semopen.c
+++ b/cpukit/posix/src/semopen.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/sempost.c b/cpukit/posix/src/sempost.c
index 2228c1c072..50c4eefdd8 100644
--- a/cpukit/posix/src/sempost.c
+++ b/cpukit/posix/src/sempost.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semtimedwait.c b/cpukit/posix/src/semtimedwait.c
index bfbd9d9320..f5904c59fd 100644
--- a/cpukit/posix/src/semtimedwait.c
+++ b/cpukit/posix/src/semtimedwait.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semtrywait.c b/cpukit/posix/src/semtrywait.c
index b7513ea5a2..2aecde9425 100644
--- a/cpukit/posix/src/semtrywait.c
+++ b/cpukit/posix/src/semtrywait.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semunlink.c b/cpukit/posix/src/semunlink.c
index 78a5781dd4..96b6f926d3 100644
--- a/cpukit/posix/src/semunlink.c
+++ b/cpukit/posix/src/semunlink.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/semwait.c b/cpukit/posix/src/semwait.c
index f74a7fa0c4..9ef787c727 100644
--- a/cpukit/posix/src/semwait.c
+++ b/cpukit/posix/src/semwait.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdarg.h>
#include <errno.h>
diff --git a/cpukit/posix/src/setcancelstate.c b/cpukit/posix/src/setcancelstate.c
index 407a76dfb7..8a1df67c9d 100644
--- a/cpukit/posix/src/setcancelstate.c
+++ b/cpukit/posix/src/setcancelstate.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/setcanceltype.c b/cpukit/posix/src/setcanceltype.c
index 6c09836700..ae8de273c4 100644
--- a/cpukit/posix/src/setcanceltype.c
+++ b/cpukit/posix/src/setcanceltype.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/setpgid.c b/cpukit/posix/src/setpgid.c
index 295a961c04..85b2420507 100644
--- a/cpukit/posix/src/setpgid.c
+++ b/cpukit/posix/src/setpgid.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/setsid.c b/cpukit/posix/src/setsid.c
index 6594dec039..9ec90a5f32 100644
--- a/cpukit/posix/src/setsid.c
+++ b/cpukit/posix/src/setsid.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/sigaction.c b/cpukit/posix/src/sigaction.c
index aca5702329..704eaef7ef 100644
--- a/cpukit/posix/src/sigaction.c
+++ b/cpukit/posix/src/sigaction.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <signal.h>
diff --git a/cpukit/posix/src/sigaddset.c b/cpukit/posix/src/sigaddset.c
index ee185ecec3..9967af30ae 100644
--- a/cpukit/posix/src/sigaddset.c
+++ b/cpukit/posix/src/sigaddset.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/sigdelset.c b/cpukit/posix/src/sigdelset.c
index 0322d45190..e326a8165d 100644
--- a/cpukit/posix/src/sigdelset.c
+++ b/cpukit/posix/src/sigdelset.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/sigemptyset.c b/cpukit/posix/src/sigemptyset.c
index 3f792bc0fb..8af32ee901 100644
--- a/cpukit/posix/src/sigemptyset.c
+++ b/cpukit/posix/src/sigemptyset.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/sigfillset.c b/cpukit/posix/src/sigfillset.c
index bf7ef93ee2..df0450f695 100644
--- a/cpukit/posix/src/sigfillset.c
+++ b/cpukit/posix/src/sigfillset.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/sigismember.c b/cpukit/posix/src/sigismember.c
index 96d6bb127d..1ae94e350b 100644
--- a/cpukit/posix/src/sigismember.c
+++ b/cpukit/posix/src/sigismember.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/signal_2.c b/cpukit/posix/src/signal_2.c
index 2134339e76..2141269b10 100644
--- a/cpukit/posix/src/signal_2.c
+++ b/cpukit/posix/src/signal_2.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <signal.h>
#include <errno.h>
diff --git a/cpukit/posix/src/sigpending.c b/cpukit/posix/src/sigpending.c
index 2f8fb8d0e2..602278157f 100644
--- a/cpukit/posix/src/sigpending.c
+++ b/cpukit/posix/src/sigpending.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <signal.h>
#include <errno.h>
diff --git a/cpukit/posix/src/sigprocmask.c b/cpukit/posix/src/sigprocmask.c
index 530975c6b6..2b04f52e99 100644
--- a/cpukit/posix/src/sigprocmask.c
+++ b/cpukit/posix/src/sigprocmask.c
@@ -13,6 +13,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <signal.h>
diff --git a/cpukit/posix/src/sigqueue.c b/cpukit/posix/src/sigqueue.c
index 7e901565e0..66a8ee941f 100644
--- a/cpukit/posix/src/sigqueue.c
+++ b/cpukit/posix/src/sigqueue.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/sigsuspend.c b/cpukit/posix/src/sigsuspend.c
index 898f1d0ced..0aa5699766 100644
--- a/cpukit/posix/src/sigsuspend.c
+++ b/cpukit/posix/src/sigsuspend.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <signal.h>
#include <errno.h>
diff --git a/cpukit/posix/src/sigtimedwait.c b/cpukit/posix/src/sigtimedwait.c
index b87d9cbd3d..8f361e4079 100644
--- a/cpukit/posix/src/sigtimedwait.c
+++ b/cpukit/posix/src/sigtimedwait.c
@@ -11,6 +11,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <signal.h>
diff --git a/cpukit/posix/src/sigwait.c b/cpukit/posix/src/sigwait.c
index 8270fb90ed..78183e8908 100644
--- a/cpukit/posix/src/sigwait.c
+++ b/cpukit/posix/src/sigwait.c
@@ -13,6 +13,9 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <pthread.h>
#include <signal.h>
diff --git a/cpukit/posix/src/sigwaitinfo.c b/cpukit/posix/src/sigwaitinfo.c
index b91952ee9b..13d3f3f034 100644
--- a/cpukit/posix/src/sigwaitinfo.c
+++ b/cpukit/posix/src/sigwaitinfo.c
@@ -13,6 +13,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
#include <errno.h>
diff --git a/cpukit/posix/src/sleep.c b/cpukit/posix/src/sleep.c
index dec0ed0a54..501fe5770f 100644
--- a/cpukit/posix/src/sleep.c
+++ b/cpukit/posix/src/sleep.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#include <unistd.h>
diff --git a/cpukit/posix/src/sysconf.c b/cpukit/posix/src/sysconf.c
index be9e33a54f..ac7a4104c5 100644
--- a/cpukit/posix/src/sysconf.c
+++ b/cpukit/posix/src/sysconf.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#include <unistd.h>
diff --git a/cpukit/posix/src/testcancel.c b/cpukit/posix/src/testcancel.c
index 40717c5ab0..b4007526de 100644
--- a/cpukit/posix/src/testcancel.c
+++ b/cpukit/posix/src/testcancel.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <pthread.h>
#include <errno.h>
diff --git a/cpukit/posix/src/time.c b/cpukit/posix/src/time.c
index e415285f94..081f5c6d59 100644
--- a/cpukit/posix/src/time.c
+++ b/cpukit/posix/src/time.c
@@ -2,6 +2,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <assert.h>
#include <time.h>
#include <errno.h>
diff --git a/cpukit/posix/src/types.c b/cpukit/posix/src/types.c
index 7243b5855d..56f60bda14 100644
--- a/cpukit/posix/src/types.c
+++ b/cpukit/posix/src/types.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <limits.h>
#include <errno.h>
#include <string.h>
diff --git a/cpukit/posix/src/wait.c b/cpukit/posix/src/wait.c
index bbef04a2eb..09dfd3ded7 100644
--- a/cpukit/posix/src/wait.c
+++ b/cpukit/posix/src/wait.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
diff --git a/cpukit/posix/src/waitpid.c b/cpukit/posix/src/waitpid.c
index e367e87074..aece9bbb81 100644
--- a/cpukit/posix/src/waitpid.c
+++ b/cpukit/posix/src/waitpid.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>