From 2e1bed9790ce11d856006aaa8692fed225cc10d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sat, 5 Dec 2009 09:00:18 +0100
Subject: Fixed C-Ares compilation on Windows.


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"
-- 
cgit v0.10.2-6-g49f6