summaryrefslogtreecommitdiff
path: root/ev_select.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev_select.c')
-rw-r--r--ev_select.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/ev_select.c b/ev_select.c
index e3e79ca..60cc084 100644
--- a/ev_select.c
+++ b/ev_select.c
@@ -29,18 +29,15 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* for broken bsd's */
-#include <sys/time.h>
-#include <sys/types.h>
-#include <unistd.h>
-
/* for unix systems */
-#ifndef WIN32
+#ifdef WIN32
+typedef unsigned int uint32_t;
+#else
# include <sys/select.h>
+# include <inttypes.h>
#endif
#include <string.h>
-#include <inttypes.h>
static void
select_modify (EV_P_ int fd, int oev, int nev)