aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/QXmppSocks.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/QXmppSocks.cpp b/source/QXmppSocks.cpp
index 575a1102..6b8bfa5d 100644
--- a/source/QXmppSocks.cpp
+++ b/source/QXmppSocks.cpp
@@ -24,6 +24,12 @@
#include <QTcpServer>
#include <QTcpSocket>
+#ifdef Q_OS_WIN
+#include <winsock2.h>
+#else
+#include <arpa/inet.h>
+#endif
+
#include "QXmppSocks.h"
const static char SocksVersion = 5;