[Git][NTPsec/ntpsec][master] ntpfrob: add the missing shim include to fix the musl LEDE bustage...

Eric S. Raymond gitlab at mg.gitlab.com
Thu Oct 13 01:28:05 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
a2c0abcc by Stephen Walker at 2016-10-12T21:11:17-04:00
ntpfrob: add the missing shim include to fix the musl LEDE bustage...

...as musl lacks ntp_adjtime.
../../ntpfrob/tickadj.c: In function 'tickadj':
../../ntpfrob/tickadj.c:71:6: warning: implicit declaration of function 'ntp_adjtime' [-Wimplicit-function-declaration]
  if (ntp_adjtime(&txc) < 0)
      ^~~~~~~~~~~

/* #undef HAVE_NTP_ADJTIME */

Signed-off-by: Stephen Walker <stephendwalker+github at gmail.com>

- - - - -


1 changed file:

- ntpfrob/tickadj.c


Changes:

=====================================
ntpfrob/tickadj.c
=====================================
--- a/ntpfrob/tickadj.c
+++ b/ntpfrob/tickadj.c
@@ -12,6 +12,7 @@
 #include <config.h>
 
 #include "ntp_types.h"
+#include "ntp_syscall.h"
 
 #include <stdio.h>
 #include <unistd.h>



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a2c0abcc6a43e4c2311cf285b3241eaa08c7133e
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161013/ae8c5133/attachment.html>


More information about the vc mailing list