diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-12-05 08:00:18 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-12-05 08:00:18 (GMT) |
commit | 2e1bed9790ce11d856006aaa8692fed225cc10d3 (patch) | |
tree | 0c610d2ab404d978ac26d0bfbe523514487d1445 | |
parent | 897ad55ffee76c9e84ffb174d700f6182a3e7d0b (diff) | |
download | swift-2e1bed9790ce11d856006aaa8692fed225cc10d3.zip swift-2e1bed9790ce11d856006aaa8692fed225cc10d3.tar.bz2 |
Fixed C-Ares compilation on Windows.
-rw-r--r-- | Swiften/Network/CAresDomainNameResolver.cpp | 3 |
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" |