diff options
Diffstat (limited to 'openbsd/Platform.h')
-rw-r--r-- | openbsd/Platform.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsd/Platform.h b/openbsd/Platform.h index f54b0509..18e1a1c0 100644 --- a/openbsd/Platform.h +++ b/openbsd/Platform.h @@ -19,6 +19,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" @@ -78,4 +79,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 |