summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-21 15:38:58 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-24 08:09:00 +0200
commitf0aaa04240da3bf4b630250fa74b7117c15b5681 (patch)
tree5f8edbb481f2a670afc58208b6b8a0e2c38da412
parentMake <sys/proc.h> self-sufficient (diff)
downloadrtems-libbsd-f0aaa04240da3bf4b630250fa74b7117c15b5681.tar.bz2
Provide CLOCK_MONOTONIC_FAST
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-user-space.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-user-space.h b/rtemsbsd/include/machine/rtems-bsd-user-space.h
index b4f74a55..b57a3ff9 100644
--- a/rtemsbsd/include/machine/rtems-bsd-user-space.h
+++ b/rtemsbsd/include/machine/rtems-bsd-user-space.h
@@ -57,6 +57,10 @@
#define _POSIX2_LINE_MAX 128
+#ifndef CLOCK_MONOTONIC_FAST
+#define CLOCK_MONOTONIC_FAST CLOCK_MONOTONIC
+#endif
+
__BEGIN_DECLS
/* FIXME: Add to Newlib */