summaryrefslogtreecommitdiff
path: root/src/common/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/socket.h')
-rw-r--r--src/common/socket.h2
1 files changed, 2 insertions, 0 deletions
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>