Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ntp: Fix two reference clock builds
Fix build for hopf6021 and wharton reference clocks. No PORTREVISION bump is needed since both reference clocks are not built by default. Fixes: de4864b MFH: 2023Q2
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- libparse/clk_wharton.c.orig 2023-06-06 04:33:42.000000000 -0700 | ||
+++ libparse/clk_wharton.c 2023-06-06 06:36:02.108114000 -0700 | ||
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- libparse/clk_hopf6021.c.orig 2023-06-06 04:33:42.000000000 -0700 | ||
+++ libparse/clk_hopf6021.c 2023-06-06 06:36:00.964222000 -0700 | ||
@@ -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" |