(NS_ALL) [_WIN32]: Change NS_EVERYTHING back to NS_ALL, #undef NS_ALL to prevent conflict with winsock2.h
This commit is contained in:
parent
e215af5ac5
commit
0b172c6553
11 changed files with 22 additions and 16 deletions
|
@ -31,6 +31,11 @@
|
|||
* Dave Pare, 1994
|
||||
*/
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <winsock2.h>
|
||||
#undef NS_ALL
|
||||
#endif
|
||||
|
||||
#include "prototypes.h"
|
||||
#include "misc.h"
|
||||
#include "proto.h"
|
||||
|
@ -51,8 +56,6 @@
|
|||
#include <netinet/in.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue