summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-13 19:18:47 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-13 19:18:47 -0500
commit1ec0fb7f7c46206c4e57c1d7ddf1ee18c8353410 (patch)
treed39ff3fa904b5d25f325ec2654205228fe5973f9 /libgps_core.c
parentb4dbb2e5d177b2eb6f3770106c54421b22f035f5 (diff)
downloadgpsd-1ec0fb7f7c46206c4e57c1d7ddf1ee18c8353410.tar.gz
For simplification on SuS assumptions.
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libgps_core.c b/libgps_core.c
index 64bc0a5a..306cfbdc 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -14,6 +14,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 "gpsd.h"
#include "gps_json.h"
@@ -26,9 +27,6 @@
#define AF_UNSPEC 0
#endif
#endif
-#if defined (HAVE_SYS_SELECT_H)
-#include <sys/select.h>
-#endif
#else
#include <QTcpSocket>
#endif /* USE_QT */