13 lines
246 B
Diff
13 lines
246 B
Diff
|
--- a/ntpclient.c
|
||
|
+++ b/ntpclient.c
|
||
|
@@ -42,6 +42,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>
|