diff options
author | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-02-18 15:38:53 -0500 |
---|---|---|
committer | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-02-18 15:42:02 -0500 |
commit | ccb781e8e3a288727f28dc8ddd05b389a0d0a2e7 (patch) | |
tree | eadd6db21de2324c1ddd4012c1d3f8a113ee285d | |
parent | 43f7f1920eb32c59ba60cd4079e56c39b406fdba (diff) | |
download | gpsd-ccb781e8e3a288727f28dc8ddd05b389a0d0a2e7.tar.gz |
Fixing gpsmon.c to fix broken build
scons minimal=on control_socket=on ncurses=on pps=on
Fails with json_pps_read not defined for gpsmon
We were missing matching guard in gpsmon for json_pps_read
-rw-r--r-- | gpsmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -664,7 +664,7 @@ static void gpsmon_hook(struct gps_device_t *device, gps_mask_t changed UNUSED) struct timedrift_t td; #endif /* NTPSHM_ENABLE */ -#if defined(PPS_ENABLE) && defined(CONTROL_SOCKET_ENABLE) +#if defined(SOCKET_EXPORT_ENABLE) && defined(PPS_ENABLE) && defined(CONTROL_SOCKET_ENABLE) if (!serial && str_starts_with((char*)device->lexer.outbuffer, "{\"class\":\"PPS\",")) { const char *end = NULL; |