[Git][NTPsec/ntpsec][master] ntpd/refclock_gpsd.c: Aadd missing time.h for strptime()
Gary E. Miller (@garyedmundsmiller)
gitlab at mg.gitlab.com
Mon Oct 27 19:36:06 UTC 2025
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
5137c155 by Gary E. Miller at 2025-10-27T12:35:35-07:00
ntpd/refclock_gpsd.c: Aadd missing time.h for strptime()
- - - - -
1 changed file:
- ntpd/refclock_gpsd.c
Changes:
=====================================
ntpd/refclock_gpsd.c
=====================================
@@ -98,20 +98,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"
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/5137c155d8895cfc50fb577ee720b3b23589c662
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/5137c155d8895cfc50fb577ee720b3b23589c662
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20251027/878f6e0a/attachment-0001.htm>
More information about the vc
mailing list