diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-12-14 10:45:34 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-12-14 10:45:34 -0500 |
commit | 6cfb37de24cd6917c01c8794808917513ccaac45 (patch) | |
tree | 59a351ab32dcd05d36d2b02dedbc3831e564b01a /ntpshm.c | |
parent | 6cee03b5e3ee6eb79210a9ed1e3ba5fa0037e4ca (diff) | |
download | gpsd-6cfb37de24cd6917c01c8794808917513ccaac45.tar.gz |
More configure simplification.
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -8,27 +8,18 @@ */ #include <stdlib.h> -#include "gpsd_config.h" -#ifndef S_SPLINT_S -#include <unistd.h> -#endif /* S_SPLINT_S */ #include <string.h> #include <math.h> #include <errno.h> +#ifndef S_SPLINT_S +#include <unistd.h> +#endif /* S_SPLINT_S */ #include "gpsd.h" #ifdef NTPSHM_ENABLE - -#if defined(HAVE_SYS_TIME_H) #include <sys/time.h> -#endif - -#ifdef HAVE_SYS_IPC_H #include <sys/ipc.h> -#endif /* HAVE_SYS_IPC_H */ -#ifdef HAVE_SYS_SHM_H #include <sys/shm.h> -#endif /* HAVE_SYS_SHM_H */ #define PPS_MAX_OFFSET 100000 /* microseconds the PPS can 'pull' */ #define PUT_MAX_OFFSET 1000000 /* microseconds for lost lock */ |