summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h2
-rw-r--r--src/common/socket.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index bd5a067d9..882ccac30 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -10,7 +10,7 @@
// server protocol version
#ifndef PACKETVER
- #define PACKETVER 8
+ #define PACKETVER 7
#endif
#define FIFOSIZE_SERVERLINK 256*1024
diff --git a/src/common/socket.h b/src/common/socket.h
index 801da8807..64190d6e7 100644
--- a/src/common/socket.h
+++ b/src/common/socket.h
@@ -5,7 +5,9 @@
#define _SOCKET_H_
#ifdef WIN32
+ #define WIN32_LEAN_AND_MEAN
#include <windows.h>
+ #include <winsock.h>
typedef long in_addr_t;
#else
#include <sys/types.h>