summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
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>