1
1

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
Этот коммит содержится в:
Fredrik Fornwall 2014-06-16 08:59:08 +02:00
родитель 0f6a1e0497
Коммит 1ceacc1362
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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 *);