ntripclient: fix musl comaptibility

Add missing `sys/select.h` include to `ntripclient.c` to provide
declarations for `struct timeval` and `fd_set` under musl.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich
2015-06-26 16:47:16 +02:00
parent 940c522cf6
commit e10abaf165
2 changed files with 13 additions and 2 deletions
@@ -0,0 +1,10 @@
--- a/ntripclient.c
+++ b/ntripclient.c
@@ -44,6 +44,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <arpa/inet.h>
+ #include <sys/select.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>