[PATCH 02/25] posix: Include missing header files
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jul 18 14:25:50 UTC 2013
---
cpukit/posix/include/rtems/posix/pthread.h | 1 +
cpukit/posix/include/rtems/posix/threadsup.h | 1 +
cpukit/posix/src/aio_read.c | 1 +
cpukit/posix/src/aio_write.c | 1 +
cpukit/posix/src/psignal.c | 2 +-
cpukit/posix/src/psignalunblockthread.c | 2 +-
cpukit/posix/src/pthread.c | 1 +
cpukit/posix/src/pthreadjoin.c | 3 ++-
cpukit/posix/src/sigtimedwait.c | 1 +
9 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/cpukit/posix/include/rtems/posix/pthread.h b/cpukit/posix/include/rtems/posix/pthread.h
index 5250b70..0f495fa 100644
--- a/cpukit/posix/include/rtems/posix/pthread.h
+++ b/cpukit/posix/include/rtems/posix/pthread.h
@@ -22,6 +22,7 @@
#include <rtems/posix/config.h>
#include <rtems/posix/threadsup.h>
+#include <rtems/score/thread.h>
#ifdef __cplusplus
extern "C" {
diff --git a/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h
index c4d75c8..382a69b 100644
--- a/cpukit/posix/include/rtems/posix/threadsup.h
+++ b/cpukit/posix/include/rtems/posix/threadsup.h
@@ -21,6 +21,7 @@
#include <sys/signal.h>
#include <rtems/score/coresem.h>
#include <rtems/score/tqdata.h>
+#include <rtems/score/watchdog.h>
/**
* @defgroup POSIX_THREAD POSIX Thread API Extension
diff --git a/cpukit/posix/src/aio_read.c b/cpukit/posix/src/aio_read.c
index 5445e86..8a9394f 100644
--- a/cpukit/posix/src/aio_read.c
+++ b/cpukit/posix/src/aio_read.c
@@ -25,6 +25,7 @@
#include <rtems/system.h>
#include <rtems/seterr.h>
#include <stdlib.h>
+#include <limits.h>
/*
* aio_read
diff --git a/cpukit/posix/src/aio_write.c b/cpukit/posix/src/aio_write.c
index dec08fe..46f7801 100644
--- a/cpukit/posix/src/aio_write.c
+++ b/cpukit/posix/src/aio_write.c
@@ -25,6 +25,7 @@
#include <rtems/system.h>
#include <rtems/seterr.h>
#include <stdlib.h>
+#include <limits.h>
/*
* aio_write
diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c
index e490877..bc4a0f6 100644
--- a/cpukit/posix/src/psignal.c
+++ b/cpukit/posix/src/psignal.c
@@ -31,7 +31,7 @@
#include <rtems/config.h>
#include <rtems/score/isr.h>
#include <rtems/score/thread.h>
-#include <rtems/score/tqdata.h>
+#include <rtems/score/threadq.h>
#include <rtems/score/wkspace.h>
#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
diff --git a/cpukit/posix/src/psignalunblockthread.c b/cpukit/posix/src/psignalunblockthread.c
index 0603a7f..b46f8a4 100644
--- a/cpukit/posix/src/psignalunblockthread.c
+++ b/cpukit/posix/src/psignalunblockthread.c
@@ -25,7 +25,7 @@
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/thread.h>
-#include <rtems/score/tqdata.h>
+#include <rtems/score/threadq.h>
#include <rtems/score/wkspace.h>
#include <rtems/seterr.h>
#include <rtems/posix/threadsup.h>
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c
index c8181fa..12b5d15 100644
--- a/cpukit/posix/src/pthread.c
+++ b/cpukit/posix/src/pthread.c
@@ -27,6 +27,7 @@
#include <rtems/score/apiext.h>
#include <rtems/score/stack.h>
#include <rtems/score/thread.h>
+#include <rtems/score/threadq.h>
#include <rtems/score/userextimpl.h>
#include <rtems/score/wkspace.h>
#include <rtems/posix/cancel.h>
diff --git a/cpukit/posix/src/pthreadjoin.c b/cpukit/posix/src/pthreadjoin.c
index cd8c40a..cbc6e17 100644
--- a/cpukit/posix/src/pthreadjoin.c
+++ b/cpukit/posix/src/pthreadjoin.c
@@ -24,8 +24,9 @@
#include <errno.h>
#include <rtems/system.h>
-#include <rtems/score/thread.h>
#include <rtems/posix/pthread.h>
+#include <rtems/score/thread.h>
+#include <rtems/score/threadq.h>
int pthread_join(
pthread_t thread,
diff --git a/cpukit/posix/src/sigtimedwait.c b/cpukit/posix/src/sigtimedwait.c
index ef8bbdf..f471973 100644
--- a/cpukit/posix/src/sigtimedwait.c
+++ b/cpukit/posix/src/sigtimedwait.c
@@ -28,6 +28,7 @@
#include <rtems/seterr.h>
#include <rtems/posix/time.h>
#include <rtems/score/isr.h>
+#include <rtems/score/threadq.h>
static int _POSIX_signals_Get_lowest(
sigset_t set
--
1.7.7
More information about the devel
mailing list