summaryrefslogtreecommitdiff
path: root/lcdgps.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 /lcdgps.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 'lcdgps.c')
-rw-r--r--lcdgps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcdgps.c b/lcdgps.c
index 59bed232..98415f6e 100644
--- a/lcdgps.c
+++ b/lcdgps.c
@@ -45,7 +45,7 @@
#ifndef INADDR_ANY
#include <netinet/in.h>
#endif /* INADDR_ANY */
-#include <time.h> /* for select() */
+#include <sys/time.h> /* for select() */
#include <stdlib.h>
#include <string.h>
#include <math.h>