From a7a0a36461e3d405c35838f04000019ce07728e8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 16 Apr 2020 12:12:53 +0200 Subject: config: Conditionally include header --- cpukit/include/rtems/confdefs/threads.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/include/rtems/confdefs/threads.h b/cpukit/include/rtems/confdefs/threads.h index 12726487ba..33b8c5cee2 100644 --- a/cpukit/include/rtems/confdefs/threads.h +++ b/cpukit/include/rtems/confdefs/threads.h @@ -48,9 +48,12 @@ #include #include #include -#include #include +#ifdef RTEMS_POSIX_API + #include +#endif + #ifndef CONFIGURE_MAXIMUM_TASKS #define CONFIGURE_MAXIMUM_TASKS 0 #endif -- cgit v1.2.3