summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-05 05:17:45 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-05 05:17:45 +0000
commit98c1e0d2880c1206a6eba124bbf4bc8836ef5e93 (patch)
treebdd9e1aab7fbf4a10cb494c48aa706414bb505e9 /cpukit
parent2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-98c1e0d2880c1206a6eba124bbf4bc8836ef5e93.tar.bz2
2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pthreadatfork.c: Include <pthread.h> (Missing prototypes).
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog2
-rw-r--r--cpukit/posix/src/pthreadatfork.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 6f660559b6..ff22d5e5a5 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,7 @@
2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * posix/src/pthreadatfork.c:
+ Include <pthread.h> (Missing prototypes).
* posix/src/mqueuetranslatereturncode.c:
Include <rtems/posix/mqueue.h> (Missing prototypes).
* posix/src/mutextranslatereturncode.c:
diff --git a/cpukit/posix/src/pthreadatfork.c b/cpukit/posix/src/pthreadatfork.c
index 9a08abd254..71be212820 100644
--- a/cpukit/posix/src/pthreadatfork.c
+++ b/cpukit/posix/src/pthreadatfork.c
@@ -24,6 +24,8 @@
#include "config.h"
#endif
+#include <pthread.h>
+
#include <errno.h>
#include <rtems/seterr.h>