Portability fixes:
* Fix <sys/fcntl.h> in client/adnsresfilter.c to <fcntl.h>.
* #include <sys/types.h> and <unistd.h> for fcntl in */*.c.
Portability fixes:
* Fix <sys/fcntl.h> in client/adnsresfilter.c to <fcntl.h>.
* #include <sys/types.h> and <unistd.h> for fcntl in */*.c.
* adnstest: setvbuf(stdout,...) before we do first output.
* Cast a sizeof(...) in src/event.c to unsigned long before printing.
* #include <sys/select.h> if it exists.
* adnstest: setvbuf(stdout,...) before we do first output.
* Cast a sizeof(...) in src/event.c to unsigned long before printing.
* #include <sys/select.h> if it exists.