diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-29 11:06:47 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-29 11:06:47 -0400 |
commit | bd1ec73631fa12f1523e919bea4fe190d8800f51 (patch) | |
tree | 3a920258fa263ff0e668ad1550571698c27c10a1 /ppsthread.c | |
parent | a4721f90221a3e27aa6e7f40e7b159cb169edaac (diff) | |
download | gpsd-bd1ec73631fa12f1523e919bea4fe190d8800f51.tar.gz |
Compile correctly with pps off.
Diffstat (limited to 'ppsthread.c')
-rw-r--r-- | ppsthread.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ppsthread.c b/ppsthread.c index f138e4fc..a5243d07 100644 --- a/ppsthread.c +++ b/ppsthread.c @@ -35,6 +35,8 @@ #endif /* S_SPLINT_S */ #include "gpsd.h" + +#ifdef PPS_ENABLE #if defined(HAVE_SYS_TIMEPPS_H) #include <fcntl.h> /* needed for open() and friends */ #endif @@ -620,5 +622,7 @@ void gpsd_await_pps_initialization(struct gps_context_t *context) } #endif /* defined(HAVE_SYS_TIMEPPS_H) */ +#endif /* PPS_ENABLE */ + /* end */ |