From 904983bf9465017753c6f5b602fc9c98458615f7 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 27 Oct 2025 12:35:35 -0700 Subject: [PATCH] ntpd/refclock_gpsd.c: Add missing time.h for strptime() Upstream: https://gitlab.com/NTPsec/ntpsec/-/commit/5137c155d8895cfc50fb577ee720b3b23589c662 Signed-off-by: Bernd Kuhls --- ntpd/refclock_gpsd.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ntpd/refclock_gpsd.c b/ntpd/refclock_gpsd.c index 1dfec3103..0a2987d84 100644 --- a/ntpd/refclock_gpsd.c +++ b/ntpd/refclock_gpsd.c @@ -100,20 +100,20 @@ typedef unsigned long int json_uint; * header stuff we need */ -#include -#include -#include -#include #include +#include #include +#include +#include +#include // for strptime() +#include -#include +#include #include #include +#include #include -#include - #include "ntpd.h" #include "ntp_io.h" #include "ntp_refclock.h" -- 2.47.3