diff options
author | Bernd Zeimetz <bernd@bzed.de> | 2012-07-01 22:08:57 +0200 |
---|---|---|
committer | Bernd Zeimetz <bernd@bzed.de> | 2012-07-01 22:08:57 +0200 |
commit | 4e3307756fb4ade7ee38fd4793438640e6bb9c47 (patch) | |
tree | 755646648503021da0b5ab22a2ba838fae24c07a /ntpshm.c | |
parent | c5623daa22b0659e90268edd37941e941ae8c56a (diff) | |
download | gpsd-4e3307756fb4ade7ee38fd4793438640e6bb9c47.tar.gz |
Include unistd.h as workaround for timepps.h missing it.
Also remove a duplicate include of timepps.h from ntpshm.h, moving the
comment to gpsd.h-tail
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -389,18 +389,6 @@ static int ntpshm_pps(struct gps_device_t *session, struct timeval *tv) #ifndef S_SPLINT_S #include <pthread.h> /* pacifies OpenBSD's compiler */ #endif -#if defined(HAVE_SYS_TIMEPPS_H) - /* use RFC 2783 PPS API */ - /* this needs linux >= 2.6.34 and - * CONFIG_PPS=y - * CONFIG_PPS_DEBUG=y [optional to kernel log pulses] - * CONFIG_PPS_CLIENT_LDISC=y - */ - /* get timepps.h from the pps-tools package, or from here: - * http://www.mail-archive.com/debian-glibc@lists.debian.org/msg43125.html - * RFC2783 says timepps.h is in sys - */ - #include <sys/timepps.h> #include <glob.h> #endif /* and for chrony */ |