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
Этот коммит содержится в:
родитель
0f6a1e0497
Коммит
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 *);
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user