summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-05-20 10:13:16 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-05-20 10:13:56 +0200
commitb45c75ce99e65c9683855e8f366df0365e716887 (patch)
treec494af96085d5c99e305ccd77f1bade1393b26c3
parente65165bc2c35a84268f8362ec4f5b3328f71214c (diff)
downloadrtems-libbsd-b45c75ce99e65c9683855e8f366df0365e716887.tar.bz2
sys/time.h: Add missing define and declaration
-rw-r--r--rtemsbsd/include/rtems/bsd/sys/time.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/bsd/sys/time.h b/rtemsbsd/include/rtems/bsd/sys/time.h
index b47a6f80..779d233b 100644
--- a/rtemsbsd/include/rtems/bsd/sys/time.h
+++ b/rtemsbsd/include/rtems/bsd/sys/time.h
@@ -46,7 +46,10 @@
#define getbinuptime(_x) _Timecounter_Getbinuptime(_x)
#define getnanouptime(_x) _Timecounter_Getnanouptime(_x)
#define getmicrouptime(_x) _Timecounter_Getmicrouptime(_x)
+#define boottimebin _Timecounter_Boottimebin
#define time_second _Timecounter_Time_second
#define time_uptime _Timecounter_Time_uptime
+extern struct bintime _Timecounter_Boottimebin;
+
#endif /* _RTEMS_BSD_SYS_TIME_H_ */