summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-12-05 08:00:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-12-05 08:00:18 (GMT)
commit2e1bed9790ce11d856006aaa8692fed225cc10d3 (patch)
tree0c610d2ab404d978ac26d0bfbe523514487d1445 /Swiften/Network
parent897ad55ffee76c9e84ffb174d700f6182a3e7d0b (diff)
downloadswift-2e1bed9790ce11d856006aaa8692fed225cc10d3.zip
swift-2e1bed9790ce11d856006aaa8692fed225cc10d3.tar.bz2
Fixed C-Ares compilation on Windows.
Diffstat (limited to 'Swiften/Network')
-rw-r--r--Swiften/Network/CAresDomainNameResolver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/Network/CAresDomainNameResolver.cpp b/Swiften/Network/CAresDomainNameResolver.cpp
index 6daba3d..c0bf8a0 100644
--- a/Swiften/Network/CAresDomainNameResolver.cpp
+++ b/Swiften/Network/CAresDomainNameResolver.cpp
@@ -2,9 +2,12 @@
// goes for the PlatformDomainNameResolver.
#include "Swiften/Network/CAresDomainNameResolver.h"
+#include "Swiften/Base/Platform.h"
+#ifndef SWIFTEN_PLATFORM_WINDOWS
#include <netdb.h>
#include <arpa/inet.h>
+#endif
#include <algorithm>
#include "Swiften/Network/DomainNameServiceQuery.h"