mirror of
https://github.com/nmap/nmap.git
synced 2026-06-30 21:24: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:
parent
588ee6db2b
commit
aef88b5b1b
1 changed files with 1 additions and 3 deletions
|
|
@ -69,9 +69,7 @@
|
|||
|
||||
#ifndef WIN32
|
||||
#include <poll.h>
|
||||
#else
|
||||
#include <Winsock2.h>
|
||||
#endif /* ^WIN32 */
|
||||
#endif
|
||||
|
||||
#include "nsock_internal.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue