summaryrefslogtreecommitdiff
path: root/ports/winnt/libntp/getclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/winnt/libntp/getclock.c')
-rw-r--r--ports/winnt/libntp/getclock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/winnt/libntp/getclock.c b/ports/winnt/libntp/getclock.c
index 68496bd..0fdcb69 100644
--- a/ports/winnt/libntp/getclock.c
+++ b/ports/winnt/libntp/getclock.c
@@ -33,6 +33,8 @@ getclock(
return -1;
}
+ if (NULL == get_sys_time_as_filetime)
+ init_win_precise_time();
(*get_sys_time_as_filetime)(&uNow.ft);
/*