diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-30 11:17:06 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-30 11:17:06 -0400 |
commit | ed99be6df93be541a66602d3f1b296f6c8f9797e (patch) | |
tree | 57494bc23c77967807e6c7d2c8cee6d5765d325d /ntpshm.c | |
parent | 9ade48462250c108fd7c2605faa0644348003c6a (diff) | |
download | gpsd-ed99be6df93be541a66602d3f1b296f6c8f9797e.tar.gz |
Re-enable compilation with ntpshm=no.
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -22,6 +22,8 @@ #endif /* S_SPLINT_S */ #include "gpsd.h" + +#ifdef NTPSHM_ENABLE #include <sys/time.h> #include <sys/ipc.h> #include <sys/shm.h> @@ -499,4 +501,5 @@ void ntpd_link_activate(struct gps_device_t *session) } } +#endif /* NTPSHM_ENABLE */ /* end */ |