mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
cd79e92885
Added missing header and added casts. Signed-off-by: Rosen Penev <rosenp@gmail.com>
13 lines
246 B
Diff
13 lines
246 B
Diff
--- a/ntpclient.c
|
|
+++ b/ntpclient.c
|
|
@@ -43,6 +43,9 @@
|
|
#include <errno.h>
|
|
#ifdef PRECISION_SIOCGSTAMP
|
|
#include <sys/ioctl.h>
|
|
+#ifdef __GLIBC__
|
|
+#include <linux/sockios.h>
|
|
+#endif
|
|
#endif
|
|
#ifdef USE_OBSOLETE_GETTIMEOFDAY
|
|
#include <sys/time.h>
|