summaryrefslogtreecommitdiff
path: root/ais_json.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-08 15:14:40 -0700
committerGary E. Miller <gem@rellim.com>2015-03-08 15:14:40 -0700
commite9880ac6ebabaddfadcda80f2dd936e2bdbd3b61 (patch)
treed44fde3caa01ecebb8f1cd05bde671f05a296e71 /ais_json.c
parent097a425d3e32f943e2cb6a29e06882402e92027a (diff)
downloadgpsd-e9880ac6ebabaddfadcda80f2dd936e2bdbd3b61.tar.gz
OS X needs time.h for timespec_t
Diffstat (limited to 'ais_json.c')
-rw-r--r--ais_json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ais_json.c b/ais_json.c
index a4c7c360..e2cc9745 100644
--- a/ais_json.c
+++ b/ais_json.c
@@ -14,6 +14,7 @@ representations to libgps structures.
#include <stdbool.h>
#include <stdlib.h>
#include <stddef.h>
+#include <time.h>
#include "gpsd_config.h"
#include "gps.h"