summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/headers/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/headers/mutex.h')
-rw-r--r--c/src/exec/posix/headers/mutex.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/exec/posix/headers/mutex.h b/c/src/exec/posix/headers/mutex.h
index 5639d908d2..0fb8ed6d5a 100644
--- a/c/src/exec/posix/headers/mutex.h
+++ b/c/src/exec/posix/headers/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