Added <sys/select.h> got Android

pull/2/head
Jeffrey Walton 2015-06-04 23:13:39 -04:00
parent 442c6497c0
commit 54d72d091e
1 changed files with 6 additions and 2 deletions

8
wait.h
View File

@ -10,9 +10,13 @@
#include <vector> #include <vector>
#ifdef USE_WINDOWS_STYLE_SOCKETS #ifdef USE_WINDOWS_STYLE_SOCKETS
#include <winsock2.h> # include <winsock2.h>
#else #else
#include <sys/types.h> # include <sys/types.h>
#endif
#if defined(__ANDROID__)
# include <sys/select.h>
#endif #endif
#include "hrtimer.h" #include "hrtimer.h"