summaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-08 15:53:36 -0700
committerGary E. Miller <gem@rellim.com>2015-03-08 15:53:36 -0700
commit603f875e5628001e8d94fd2c078dbd9e6ff8e16f (patch)
tree486eeff3851468b7c6e9d46e499a6d1d0e9cb87f /json.c
parentc897569ae149fd4bc244d5c8d6ca8f23d593495d (diff)
downloadgpsd-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 'json.c')
-rw-r--r--json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/json.c b/json.c
index 7fb86560..bddf0c5e 100644
--- a/json.c
+++ b/json.c
@@ -67,6 +67,7 @@ PERMISSIONS
#include <stdlib.h>
#include <stdbool.h>
#include <stdarg.h>
+#include <time.h> /* for time_t */
#include <ctype.h>
#include "gpsd_config.h" /* for strlcpy() prototype */