summaryrefslogtreecommitdiffstats
path: root/freebsd/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/Platform.h')
-rw-r--r--freebsd/Platform.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/freebsd/Platform.h b/freebsd/Platform.h
index 884b7634..a0ec6abe 100644
--- a/freebsd/Platform.h
+++ b/freebsd/Platform.h
@@ -18,6 +18,7 @@ in the source distribution for its full text.
#include "Process.h"
#include "ProcessLocksScreen.h"
#include "SignalsPanel.h"
+#include "generic/gettime.h"
#include "generic/hostname.h"
#include "generic/uname.h"
@@ -80,4 +81,12 @@ static inline bool Platform_getLongOption(ATTR_UNUSED int opt, ATTR_UNUSED int a
return false;
}
+static inline void Platform_gettime_realtime(struct timeval* tv, uint64_t* msec) {
+ Generic_gettime_realtime(tv, msec);
+}
+
+static inline void Platform_gettime_monotonic(uint64_t* msec) {
+ Generic_gettime_monotonic(msec);
+}
+
#endif