diff options
Diffstat (limited to 'contrib/ntp/include/ntp_syscall.h')
-rw-r--r-- | contrib/ntp/include/ntp_syscall.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/ntp/include/ntp_syscall.h b/contrib/ntp/include/ntp_syscall.h index ff649c9..29dff91 100644 --- a/contrib/ntp/include/ntp_syscall.h +++ b/contrib/ntp/include/ntp_syscall.h @@ -36,6 +36,11 @@ ntp_gettime( ntv->time = tntx.time; ntv->maxerror = tntx.maxerror; ntv->esterror = tntx.esterror; +#ifdef NTP_API +# if NTP_API > 3 + ntv->tai = tntx.tai; +# endif +#endif return(result); } # else /* !HAVE__ADJTIMEX */ |