Skip to content

Commit

Permalink
net/ntp: Fix two reference clock builds
Browse files Browse the repository at this point in the history
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
cschuber committed Jun 6, 2023
1 parent de4864b commit a133ed0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions net/ntp/files/patch-libaprse_clk_wharton.c
@@ -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.
11 changes: 11 additions & 0 deletions net/ntp/files/patch-libparse_clk_hopf6021.c
@@ -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"

0 comments on commit a133ed0

Please sign in to comment.