diff options
author | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-01-23 08:09:02 -0500 |
---|---|---|
committer | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-01-23 08:37:43 -0500 |
commit | 33ef7b5682dc27b902ed0eaf08d8a098ecf07073 (patch) | |
tree | 3cafaf9c7bdb196a7debbba0219bfd3c22205df1 /gpsd.c | |
parent | e5f1d945ebc560f7bfb60f120c7747b10a365332 (diff) | |
download | gpsd-33ef7b5682dc27b902ed0eaf08d8a098ecf07073.tar.gz |
Fixing broken build for scons control_socket=on pps=on
guard for using ship_pps_drift_message didn't match it's declaration
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1868,9 +1868,9 @@ int main(int argc, char *argv[]) #ifdef CONTROL_SOCKET_ENABLE INVALIDATE_SOCKET(csock); -#ifdef PPS_ENABLE +#if defined(PPS_ENABLE) && defined(SOCKET_EXPORT_ENABLE) context.pps_hook = ship_pps_drift_message; -#endif /* PPS_ENABLE */ +#endif /* PPS_ENABLE && SOCKET_EXPORT_ENABLE */ #endif /* CONTROL_SOCKET_ENABLE */ while ((option = getopt(argc, argv, "F:D:S:bGhlNnP:V")) != -1) { |