diff options
author | Gary E. Miller <gem@rellim.com> | 2011-03-23 10:42:40 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2011-03-23 10:42:40 -0700 |
commit | 84c08315e2e04dd0ae11cfa4bbc218d017d29562 (patch) | |
tree | bab84f0b930fb445a82795d51bfb62d0f6e78467 /ntpshm.c | |
parent | 434a2b0d05f61f645633df4331f503f9d11af0b8 (diff) | |
download | gpsd-84c08315e2e04dd0ae11cfa4bbc218d017d29562.tar.gz |
Add missing include file needed for open().
A side effect of the recent PPS restructuring.
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,10 @@ #endif /* S_SPLINT_S */ #include "gpsd.h" +#if defined(HAVE_SYS_TIMEPPS_H) +#include <fcntl.h> /* needed for open() and friends */ +#endif + #ifdef NTPSHM_ENABLE #include <sys/time.h> #include <sys/ipc.h> |