According to POSIX.1-2001, POSIX.1-2008 #include <sys/select.h> is correct way to get fd_set

This commit is contained in:
Ondřej Surý
2018-09-04 12:42:48 +02:00
parent 1333d4a71a
commit 4014bc42dd
5 changed files with 8 additions and 101 deletions

View File

@@ -12,6 +12,7 @@
#include <config.h>
#include <sys/param.h>
#include <sys/select.h>
#include <sys/types.h>
#include <sys/time.h>
@@ -35,10 +36,6 @@
#include <dns/result.h>
#include <dns/zone.h>
#ifdef ISC_PLATFORM_NEEDSYSSELECTH
#include <sys/select.h>
#endif
static int debug = 0;
static int quiet = 0;
static int stats = 0;