summaryrefslogtreecommitdiffstats
path: root/source/cSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cSocket.cpp21
1 files changed, 13 insertions, 8 deletions
diff --git a/source/cSocket.cpp b/source/cSocket.cpp
index 427441145..c8b651342 100644
--- a/source/cSocket.cpp
+++ b/source/cSocket.cpp
@@ -1,17 +1,22 @@
+
+#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+
#include "cSocket.h"
-#include "cMCLogger.h"
#ifndef _WIN32
-#include <netdb.h>
-#include <unistd.h>
-#include <errno.h>
-//#include <sys/socket.h>
-//#include <netinet/in.h>
-#include <arpa/inet.h> //inet_ntoa()
+ #include <netdb.h>
+ #include <unistd.h>
+ // #include <sys/socket.h>
+ // #include <netinet/in.h>
+ #include <arpa/inet.h> //inet_ntoa()
#else
-#define socklen_t int
+ #define socklen_t int
#endif
+
+
+
+
cSocket::cSocket( xSocket a_Socket )
: m_Socket( a_Socket )
, m_IPString( 0 )