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>
10 lines
232 B
Diff
10 lines
232 B
Diff
--- 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>
|