Use sys/select.h for select()

Should be more portable to modern systems and could be less portable
to obsolete systems than the traditional sys/time.h sys/types.h
unistd.h incantation.
This commit is contained in:
Markus Armbruster 2009-04-10 15:07:19 +02:00
parent 8c3b8d107d
commit 56e717859b
3 changed files with 3 additions and 6 deletions

View file

@ -40,8 +40,7 @@
#include <stdio.h>
#include <stdlib.h>
#ifndef _WIN32
#include <sys/time.h>
#include <sys/types.h>
#include <sys/select.h>
#include <unistd.h>
#else
#include <io.h>