diff options
author | Gary E. Miller <gem@rellim.com> | 2008-01-21 01:19:38 +0000 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2008-01-21 01:19:38 +0000 |
commit | cb7301dfa8b6e397381a48e8962bf72cdd10d3d7 (patch) | |
tree | 37af8754516d2c53f7d8466768d90b1a925f767a | |
parent | a8b4c1338e404d4bf2405c1fc16e5feaeac4aa26 (diff) | |
download | gpsd-cb7301dfa8b6e397381a48e8962bf72cdd10d3d7.tar.gz |
Fix to allow compiling with --disable-pps to work.
-rw-r--r-- | serial.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,7 +30,9 @@ void gpsd_tty_init(struct gps_device_t *session) #ifdef NTPSHM_ENABLE /* mark NTPD shared memory segments as unused */ session->shmindex = -1; +# ifdef PPS_ENABLE session->shmTimeP = -1; +# endif /* PPS_ENABLE */ #endif /* NTPSHM_ENABLE */ } |