summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gpsd.c b/gpsd.c
index 21b8855b..3b451532 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -1857,6 +1857,10 @@ int main(int argc, char *argv[])
exit(1);
}
+#if defined(PPS_ENABLE)
+ pps_early_init( &context);
+#endif /* PPS_ENABLE */
+
#if defined(SYSTEMD_ENABLE) && defined(CONTROL_SOCKET_ENABLE)
sd_socket_count = sd_get_socket_count();
if (sd_socket_count > 0 && control_socket != NULL) {