Include <sys/select.h> for select(2)
The sys/select.h include is the correct one and fixes building on Android. See e.g. http://pubs.opengroup.org/onlinepubs/009604599/functions/pselect.html
This commit is contained in:
parent
0f6a1e0497
commit
1ceacc1362
@ -17,6 +17,7 @@
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#include <sys/select.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/tcp.h>
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
#define __IPERF_UTIL_H
|
||||
|
||||
#include "cjson.h"
|
||||
#include <sys/select.h>
|
||||
|
||||
void make_cookie(char *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user