mirror of
https://github.com/aria2/aria2.git
synced 2026-04-13 00:09:32 +00:00
Fixed compile error with c-ares 1.7.0
This commit is contained in:
@@ -91,6 +91,8 @@ void handler(int signal) {
|
||||
}
|
||||
} // namespace
|
||||
|
||||
#ifdef HAVE_ARES_ADDR_NODE
|
||||
|
||||
namespace {
|
||||
|
||||
ares_addr_node* parseAsyncDNSServers(const std::string& serversOpt)
|
||||
@@ -134,6 +136,7 @@ ares_addr_node* parseAsyncDNSServers(const std::string& serversOpt)
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif // HAVE_ARES_ADDR_NODE
|
||||
|
||||
MultiUrlRequestInfo::MultiUrlRequestInfo
|
||||
(const std::vector<SharedHandle<RequestGroup> >& requestGroups,
|
||||
|
||||
Reference in New Issue
Block a user