[Git][NTPsec/ntpsec][master] Properly condition out do_dump() on BSD.
Eric S. Raymond
gitlab at mg.gitlab.com
Mon Aug 13 21:35:24 UTC 2018
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
af73ee6e by Eric S. Raymond at 2018-08-13T21:35:10Z
Properly condition out do_dump() on BSD.
- - - - -
1 changed file:
- ntpfrob/dump.c
Changes:
=====================================
ntpfrob/dump.c
=====================================
@@ -7,6 +7,7 @@
#include <stdlib.h>
#include <stdio.h>
+#ifdef HAVE_ADJTIMEX
#include <sys/timex.h>
const char * verbose[] =
@@ -114,3 +115,4 @@ do_dump(const iomode mode, const int force)
}
exit(0);
} /* do_dump */
+#endif /* HAVE_ADJTIMEX */
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/af73ee6e2b170a73cfceb8d551c6074c802e4a21
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/af73ee6e2b170a73cfceb8d551c6074c802e4a21
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180813/76784341/attachment-0001.html>
More information about the vc
mailing list