mirror of
https://github.com/nmap/nmap.git
synced 2026-01-19 20:59:01 +00:00
Do not include Winsock.h before including nsock_internal.h (that
includes nbase_winconfig.h). Otherwise WSAEINTR doesn't get redefined as EINTR as desired.
This commit is contained in:
@@ -69,9 +69,7 @@
|
||||
|
||||
#ifndef WIN32
|
||||
#include <poll.h>
|
||||
#else
|
||||
#include <Winsock2.h>
|
||||
#endif /* ^WIN32 */
|
||||
#endif
|
||||
|
||||
#include "nsock_internal.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user