summaryrefslogtreecommitdiffstats
path: root/common/network/TcpSocket.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/network/TcpSocket.cxx')
-rw-r--r--common/network/TcpSocket.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/network/TcpSocket.cxx b/common/network/TcpSocket.cxx
index 5dd24287..777627b4 100644
--- a/common/network/TcpSocket.cxx
+++ b/common/network/TcpSocket.cxx
@@ -16,6 +16,10 @@
* USA.
*/
+#ifdef HAVE_COMMON_CONFIG_H
+#include <common-config.h>
+#endif
+
#ifdef WIN32
//#include <io.h>
#include <winsock2.h>
@@ -42,10 +46,6 @@
#include <rfb/util.h>
#include <rfb/LogWriter.h>
-#ifndef VNC_SOCKLEN_T
-#define VNC_SOCKLEN_T int
-#endif
-
#ifndef INADDR_NONE
#define INADDR_NONE ((unsigned long)-1)
#endif