summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-08-31 13:14:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-08-31 13:18:19 +0200
commitb3d2e3fefe382ac2b26512f16d414cbfb93fc8f2 (patch)
tree99d4adb0e744cc4968be0758e92de418136495b0 /cpukit/include/rtems
parentvalidation: Move flush filter stop validation (diff)
downloadrtems-b3d2e3fefe382ac2b26512f16d414cbfb93fc8f2.tar.bz2
config: Include <rtems/posix/timer.h> on demand
Updates #4691.
Diffstat (limited to 'cpukit/include/rtems')
-rw-r--r--cpukit/include/rtems/confdefs/face.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/include/rtems/confdefs/face.h b/cpukit/include/rtems/confdefs/face.h
index 25f321108c..317d821623 100644
--- a/cpukit/include/rtems/confdefs/face.h
+++ b/cpukit/include/rtems/confdefs/face.h
@@ -51,9 +51,10 @@
#ifdef CONFIGURE_INIT
-#include <rtems/posix/timer.h>
-
#ifdef CONFIGURE_POSIX_TIMERS_FACE_BEHAVIOR
+
+ #include <rtems/posix/timer.h>
+
int _POSIX_Timer_Is_allowed(
clockid_t clock_id
)