summaryrefslogtreecommitdiff
path: root/driver_tsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-21 13:02:00 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-21 13:02:00 -0500
commitbdb90684f55d757f4b67841e3ef693a0ea4c48ea (patch)
tree8d5ef2ec3c59777ceb159d8e4ae207bdd78d7d9e /driver_tsip.c
parent061230f216a1e0a57eedc7bec7c90cbb2222177e (diff)
downloadgpsd-bdb90684f55d757f4b67841e3ef693a0ea4c48ea.tar.gz
Correct a previous commit changing <time.h> to <sys/time.h> eceywhere.
<sys/time.h> is needed for select(2).
Diffstat (limited to 'driver_tsip.c')
-rw-r--r--driver_tsip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_tsip.c b/driver_tsip.c
index bf34b546..459ecf41 100644
--- a/driver_tsip.c
+++ b/driver_tsip.c
@@ -5,7 +5,7 @@
* This file is Copyright (c) 2010 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
-#include <time.h>
+#include <sys/time.h> /* for select() */
#include <string.h>
#ifndef S_SPLINT_S
#include <unistd.h>