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:
Fredrik Fornwall 2014-06-16 08:59:08 +02:00
parent 0f6a1e0497
commit 1ceacc1362
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <sys/select.h>
#include <sys/socket.h>
#include <netinet/tcp.h>

View File

@ -11,6 +11,7 @@
#define __IPERF_UTIL_H
#include "cjson.h"
#include <sys/select.h>
void make_cookie(char *);