Include <winsock2.h> only through "sys/socket.h"
Because we need to #undef NS_ALL after <winsock2.h>, and want to do that in just one place.
This commit is contained in:
parent
58e34ebe3d
commit
39398997fe
1 changed files with 1 additions and 2 deletions
|
@ -52,14 +52,13 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <winsock2.h>
|
|
||||||
#undef NS_ALL
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "empthread.h"
|
#include "empthread.h"
|
||||||
#include "prototypes.h"
|
#include "prototypes.h"
|
||||||
#include "server.h"
|
#include "server.h"
|
||||||
|
#include "sys/socket.h"
|
||||||
|
|
||||||
#define loc_MIN_THREAD_STACK 16384
|
#define loc_MIN_THREAD_STACK 16384
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue