ntpclient: fixup time patch

Added missing header and added casts.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-04-10 22:22:14 -07:00
parent 53c48fae15
commit cd79e92885
3 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
--- a/ntpclient.c
+++ b/ntpclient.c
@@ -42,6 +42,9 @@
@@ -43,6 +43,9 @@
#include <errno.h>
#ifdef PRECISION_SIOCGSTAMP
#include <sys/ioctl.h>