Move inclusion of <errno.h> to after HAVE_POLL.

Suggested by Henri.
http://seclists.org/nmap-dev/2012/q4/286
This commit is contained in:
david 2012-11-20 19:43:55 +00:00
parent 8f5ed637f9
commit 0232192312

View file

@ -59,8 +59,6 @@
#define _GNU_SOURCE
#endif
#include <errno.h>
#ifdef HAVE_CONFIG_H
#include "nsock_config.h"
#elif WIN32
@ -69,6 +67,8 @@
#if HAVE_POLL
#include <errno.h>
#ifndef WIN32
#include <poll.h>
#else