summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/posix/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/posix/include/rtems/posix/mutex.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h
index 5639d908d2..0fb8ed6d5a 100644
--- a/cpukit/posix/include/rtems/posix/mutex.h
+++ b/cpukit/posix/include/rtems/posix/mutex.h
@@ -21,6 +21,9 @@
extern "C" {
#endif
+#include <rtems/score/coremutex.h>
+#include <pthread.h>
+
/*
* Data Structure used to manage a POSIX mutex
*/
@@ -36,7 +39,7 @@ typedef struct {
* this class of objects.
*/
-EXTERN Objects_Information _POSIX_Mutex_Information;
+POSIX_EXTERN Objects_Information _POSIX_Mutex_Information;
/*
* _POSIX_Mutex_Manager_initialization