summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-21 03:29:22 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-21 03:29:22 -0500
commit2b0eac5ef87320f78dbaee386511058447d0ffda (patch)
tree7e9fced440cfcebf623706b6fb618e33df0a16b6 /libgps_core.c
parent0341e03b9a8480308dd32df21519ce387744ca84 (diff)
downloadgpsd-2b0eac5ef87320f78dbaee386511058447d0ffda.tar.gz
Use <time.h> a la SuS, rather than <sys/time.h>, for select(2) etc.
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 bec129fc..12cb976e 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -11,7 +11,7 @@
#include <math.h>
#include <locale.h>
#include <assert.h>
-#include <sys/time.h> /* expected to have a select(2) prototype a la SuS */
+#include <time.h> /* expected to have a select(2) prototype a la SuS */
#ifndef S_SPLINT_S
#include <unistd.h>
#endif /* S_SPLINT_S */