diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-03-01 11:03:50 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-03-01 11:03:50 -0500 |
commit | 727bac0764fd38a1182eab300826183a3a239dbe (patch) | |
tree | 76349508f2b3cbec6d7725c3888b50f5d5990985 /ntpshm.c | |
parent | 646c88e1967cab18e2c5a50ac5e235ffc2c8a284 (diff) | |
download | gpsd-727bac0764fd38a1182eab300826183a3a239dbe.tar.gz |
Fix the byuild when pps=false and sys/timepps.h is present.
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -944,7 +944,7 @@ void pps_thread_activate(struct gps_device_t *session UNUSED) } #endif /* defined(PPS_ENABLE) && defined(TIOCMIWAIT) */ -#if defined(HAVE_SYS_TIMEPPS_H) +#if defined(PPS_ENABLE) && defined(HAVE_SYS_TIMEPPS_H) void pps_thread_deactivate(struct gps_device_t *session) /* cleanly terminate device's PPS thread */ { @@ -960,4 +960,4 @@ void pps_thread_deactivate(struct gps_device_t *session UNUSED) } #endif -#endif /* NTPSHM_ENABLE */ +#endif /* defined(PPS_ENABLE) && defined(HAVE_SYS_TIMEPPS_H) */ |