]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 3827] Fix build in case CLOCK_HOPF6021 or CLOCK_WHARTON_400A is disabled.
authorMartin Burnicki <burnicki@ntp.org>
Wed, 7 Jun 2023 16:25:37 +0000 (18:25 +0200)
committerMartin Burnicki <burnicki@ntp.org>
Wed, 7 Jun 2023 16:25:37 +0000 (18:25 +0200)
bk: 6480af81vKb4MAYRZO09R6qLO0vEMg

ChangeLog
libparse/clk_hopf6021.c
libparse/clk_wharton.c

index fa22744084aaafe701b592d99dac9c6be16be427..b6a1f157e010e9df2221373392b982d0f9e4a2f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,5 @@
+* [Bug 3827] Fix build in case CLOCK_HOPF6021 or CLOCK_WHARTON_400A
+             is disabled.  <burnicki@ntp.org>
 * [Bug 3825] Don't touch HTML files unless building inside a BK repo.
              Fix the script checkHtmlFileDates.  <burnicki@ntp.org>
 
index b0b0c1ff2a73befaaa16da4387c5c7bdc172c7a7..436c92cb3b8802d1cad68af5ef82d5a3ee6a9ec3 100644 (file)
@@ -20,6 +20,8 @@
 # include <config.h>
 #endif
 
+#include "ntp_types.h"
+
 #if defined(REFCLOCK) && defined(CLOCK_PARSE) && defined(CLOCK_HOPF6021)
 
 #include "ntp_fp.h"
index fbe9cc95f5f76c8e968587671853954d54825b1c..2df425bc67b7a09d5bb35a69a69e085afa259090 100644 (file)
@@ -9,6 +9,8 @@
 #include <config.h>
 #endif
 
+#include "ntp_types.h"
+
 #if defined(REFCLOCK) && defined(CLOCK_PARSE) && defined(CLOCK_WHARTON_400A)
 /*
  * Support for WHARTON 400A Series clock + 404.2 serial interface.