Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
From 904983bf9465017753c6f5b602fc9c98458615f7 Mon Sep 17 00:00:00 2001
|
||||
From: "Gary E. Miller" <gem@rellim.com>
|
||||
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 <bernd@kuhls.net>
|
||||
---
|
||||
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 <netdb.h>
|
||||
-#include <unistd.h>
|
||||
-#include <fcntl.h>
|
||||
-#include <string.h>
|
||||
#include <ctype.h>
|
||||
+#include <fcntl.h>
|
||||
#include <math.h>
|
||||
+#include <netdb.h>
|
||||
+#include <string.h>
|
||||
+#include <time.h> // for strptime()
|
||||
+#include <unistd.h>
|
||||
|
||||
-#include <sys/types.h>
|
||||
+#include <sys/select.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/types.h>
|
||||
#include <netinet/tcp.h>
|
||||
|
||||
-#include <sys/select.h>
|
||||
-
|
||||
#include "ntpd.h"
|
||||
#include "ntp_io.h"
|
||||
#include "ntp_refclock.h"
|
||||
--
|
||||
2.47.3
|
||||
|
||||
Reference in New Issue
Block a user