summaryrefslogtreecommitdiff
path: root/libgps_core.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 /libgps_core.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 'libgps_core.c')
-rw-r--r--libgps_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps_core.c b/libgps_core.c
index 12cb976e..bec129fc 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -11,7 +11,7 @@
#include <math.h>
#include <locale.h>
#include <assert.h>
-#include <time.h> /* expected to have a select(2) prototype a la SuS */
+#include <sys/time.h> /* expected to have a select(2) prototype a la SuS */
#ifndef S_SPLINT_S
#include <unistd.h>
#endif /* S_SPLINT_S */