summaryrefslogtreecommitdiff
path: root/gps2udp.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 /gps2udp.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 'gps2udp.c')
-rw-r--r--gps2udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps2udp.c b/gps2udp.c
index c695ac5a..0f39a661 100644
--- a/gps2udp.c
+++ b/gps2udp.c
@@ -12,6 +12,7 @@
*
*/
+#include <time.h>
#include "gpsd_config.h"
#include <stdio.h>
@@ -22,7 +23,6 @@
#include <strings.h>
#include <fcntl.h>
#include <termios.h>
-#include <time.h>
#include <assert.h>
#include <sys/time.h>
#include <sys/types.h>