summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/headers/sem.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/headers/sem.h')
-rw-r--r--c/src/exec/rtems/headers/sem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/rtems/headers/sem.h b/c/src/exec/rtems/headers/sem.h
index 191e62b414..96ae149192 100644
--- a/c/src/exec/rtems/headers/sem.h
+++ b/c/src/exec/rtems/headers/sem.h
@@ -214,10 +214,12 @@ rtems_status_code _Semaphore_Translate_core_semaphore_return_code (
* is called by the core.
*/
+#if defined(RTEMS_MULTIPROCESSING)
void _Semaphore_Core_mutex_mp_support (
Thread_Control *the_thread,
rtems_id id
);
+#endif
/*PAGE
*
@@ -238,7 +240,9 @@ void _Semaphore_Core_semaphore_mp_support (
#ifndef __RTEMS_APPLICATION__
#include <rtems/rtems/sem.inl>
#endif
+#if defined(RTEMS_MULTIPROCESSING)
#include <rtems/rtems/semmp.h>
+#endif
#ifdef __cplusplus
}