diff options
author | Gary E. Miller <gem@rellim.com> | 2015-03-08 15:53:36 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-03-08 15:53:36 -0700 |
commit | 603f875e5628001e8d94fd2c078dbd9e6ff8e16f (patch) | |
tree | 486eeff3851468b7c6e9d46e499a6d1d0e9cb87f /libgps_shm.c | |
parent | c897569ae149fd4bc244d5c8d6ca8f23d593495d (diff) | |
download | gpsd-603f875e5628001e8d94fd2c078dbd9e6ff8e16f.tar.gz |
OS X needs a lot of time.h
gpsd_config.h needs time_t which is in time.h
OS X builds now. Untested.
Diffstat (limited to 'libgps_shm.c')
-rw-r--r-- | libgps_shm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgps_shm.c b/libgps_shm.c index dc9bcc2c..90e962c8 100644 --- a/libgps_shm.c +++ b/libgps_shm.c @@ -14,6 +14,7 @@ PERMISSIONS BSD terms apply: see the file COPYING in the distribution root for details. ***************************************************************************/ +#include <time.h> /* for time_t */ #include "gpsd_config.h" #ifdef SHM_EXPORT_ENABLE |