From: Martin Burnicki Date: Wed, 7 Jun 2023 16:25:37 +0000 (+0200) Subject: [Bug 3827] Fix build in case CLOCK_HOPF6021 or CLOCK_WHARTON_400A is disabled. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9c7ee1ebf37049ff32f84e6ac0680c9ad9f8370;p=thirdparty%2Fntp.git [Bug 3827] Fix build in case CLOCK_HOPF6021 or CLOCK_WHARTON_400A is disabled. bk: 6480af81vKb4MAYRZO09R6qLO0vEMg --- diff --git a/ChangeLog b/ChangeLog index fa2274408..b6a1f157e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +* [Bug 3827] Fix build in case CLOCK_HOPF6021 or CLOCK_WHARTON_400A + is disabled. * [Bug 3825] Don't touch HTML files unless building inside a BK repo. Fix the script checkHtmlFileDates. diff --git a/libparse/clk_hopf6021.c b/libparse/clk_hopf6021.c index b0b0c1ff2..436c92cb3 100644 --- a/libparse/clk_hopf6021.c +++ b/libparse/clk_hopf6021.c @@ -20,6 +20,8 @@ # include #endif +#include "ntp_types.h" + #if defined(REFCLOCK) && defined(CLOCK_PARSE) && defined(CLOCK_HOPF6021) #include "ntp_fp.h" diff --git a/libparse/clk_wharton.c b/libparse/clk_wharton.c index fbe9cc95f..2df425bc6 100644 --- a/libparse/clk_wharton.c +++ b/libparse/clk_wharton.c @@ -9,6 +9,8 @@ #include #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.