[Git][NTPsec/ntpsec][master] Once more into the build breakage, dear friends!

Eric S. Raymond gitlab at mg.gitlab.com
Thu Sep 29 19:44:04 UTC 2016


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


Commits:
fd7df66a by Eric S. Raymond at 2016-09-29T15:43:22-04:00
Once more into the build breakage, dear friends!

- - - - -


3 changed files:

- include/ntp_syscall.h
- ntpd/ntp_control.c
- ntpd/ntp_loopfilter.c


Changes:

=====================================
include/ntp_syscall.h
=====================================
--- a/include/ntp_syscall.h
+++ b/include/ntp_syscall.h
@@ -27,4 +27,9 @@ struct ntptimeval
 int ntp_gettime(struct ntptimeval *);
 #endif	/* !HAVE_STRUCT_NTPTIMEVAL */
 
+/* MUSL port shim */
+#if !defined(HAVE_NTP_ADJTIME) && defined(HAVE_ADJTIMEX)
+#define ntp_adjtime adjtimex
+#endif
+
 #endif	/* GUARD_NTP_SYSCALL_H */


=====================================
ntpd/ntp_control.c
=====================================
--- a/ntpd/ntp_control.c
+++ b/ntpd/ntp_control.c
@@ -23,6 +23,7 @@
 #include "ntp_leapsec.h"
 #include "ntp_md5.h"	/* provides OpenSSL digest API */
 #include "lib_strbuf.h"
+#include "ntp_syscall.h"
 
 /*
  * Structure to hold request procedure information


=====================================
ntpd/ntp_loopfilter.c
=====================================
--- a/ntpd/ntp_loopfilter.c
+++ b/ntpd/ntp_loopfilter.c
@@ -10,6 +10,7 @@
 #include "ntp_io.h"
 #include "ntp_unixtime.h"
 #include "ntp_stdlib.h"
+#include "ntp_syscall.h"
 
 #include <limits.h>
 #include <stdio.h>



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


More information about the vc mailing list