diff options
Diffstat (limited to 'libgps_core.c')
-rw-r--r-- | libgps_core.c | 4 |
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 */ |