summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/headers/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/headers/pthread.h')
-rw-r--r--c/src/exec/posix/headers/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/posix/headers/pthread.h b/c/src/exec/posix/headers/pthread.h
index abf5933fc2..46e5834385 100644
--- a/c/src/exec/posix/headers/pthread.h
+++ b/c/src/exec/posix/headers/pthread.h
@@ -112,7 +112,9 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null(
);
#include <rtems/posix/pthread.inl>
+#if defined(RTEMS_MULTIPROCESSING)
#include <rtems/posix/pthreadmp.h>
+#endif
#ifdef __cplusplus
}