summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog2
-rw-r--r--cpukit/posix/src/pspinlocktranslatereturncode.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 67ce6b729b..a2cfc0f9cc 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,7 @@
2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * posix/src/pspinlocktranslatereturncode.c:
+ Include <rtems/posix/spinlock.h> (Missing prototypes).
* libfs/src/imfs/imfs_debug.c: Make IMFS_print_jnode,
IMFS_dump_directory static.
* libfs/src/imfs/memfile.c: Make memfile_free_blocks_in_table static.
diff --git a/cpukit/posix/src/pspinlocktranslatereturncode.c b/cpukit/posix/src/pspinlocktranslatereturncode.c
index fbce440010..2d07d92ff6 100644
--- a/cpukit/posix/src/pspinlocktranslatereturncode.c
+++ b/cpukit/posix/src/pspinlocktranslatereturncode.c
@@ -20,6 +20,7 @@
#include <rtems/system.h>
#include <rtems/score/corespinlock.h>
+#include <rtems/posix/spinlock.h>
/*
* _POSIX_Spinlock_Translate_core_spinlock_return_code