summaryrefslogtreecommitdiff
path: root/gpsmon.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 /gpsmon.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 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 6e0b8f98..566c1fc7 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -11,7 +11,7 @@
#include <setjmp.h>
#include <fcntl.h> /* for O_RDWR */
#include <errno.h>
-#include <time.h> /* expected to declare select(2) a la SuS */
+#include <sys/time.h> /* expected to declare select(2) a la SuS */
#ifndef S_SPLINT_S
#include <unistd.h>
#endif /* S_SPLINT_S */