[_WIN32]: Upgrade to Windows Sockets 2.
This commit is contained in:
parent
c99a5b4f43
commit
aabed1b346
5 changed files with 5 additions and 4 deletions
|
@ -55,6 +55,7 @@
|
|||
#include "prototypes.h"
|
||||
|
||||
#if defined(_WIN32) && defined(_EMPTH_WIN32)
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#include <process.h>
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include <stdlib.h> /* malloc calloc free */
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <winsock.h>
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
#include "misc.h"
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <winsock.h>
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -82,7 +82,7 @@ emp_server.exe: $(NTOBJS) $(NTLIBS)
|
|||
/NOD /DEBUG:full /DEBUGTYPE:cv /MACHINE:IX86 /NOLOGO \
|
||||
$(NTOBJS) $(NTLIBS) \
|
||||
kernel32.lib \
|
||||
wsock32.lib \
|
||||
ws2_32.lib \
|
||||
libcmt.lib \
|
||||
oldnames.lib \
|
||||
advapi32.lib
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <winsock.h>
|
||||
#include <winsock2.h>
|
||||
#include <process.h>
|
||||
#include "../lib/gen/getopt.h"
|
||||
#include "service.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue