summaryrefslogtreecommitdiff
path: root/cgps.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 /cgps.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 'cgps.c')
-rw-r--r--cgps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgps.c b/cgps.c
index 33da0153..313e82a6 100644
--- a/cgps.c
+++ b/cgps.c
@@ -78,7 +78,7 @@
/* This is the maximum size we need for the 'satellites' window. */
#define MAX_SATWIN_SIZE (MAX_POSSIBLE_SATS + SATWIN_OVERHEAD)
-#include <time.h> /* for select() */
+#include <sys/time.h> /* for select() */
#include <stdlib.h>
#include <string.h>
#include <math.h>