Fix compile error without c-ares

This commit is contained in:
Tatsuhiro Tsujikawa 2013-04-01 02:08:53 +09:00
parent d575e3cc77
commit cf23e3e11d
2 changed files with 4 additions and 0 deletions

View file

@ -61,7 +61,9 @@ DHTEntryPointNameResolveCommand::DHTEntryPointNameResolveCommand
const std::vector<std::pair<std::string, uint16_t> >& entryPoints):
Command(cuid),
e_(e),
#ifdef ENABLE_ASYNC_DNS
asyncNameResolverMan_(new AsyncNameResolverMan()),
#endif // ENABLE_ASYNC_DNS
entryPoints_(entryPoints.begin(), entryPoints.end()),
numSuccess_(0),
bootstrapEnabled_(false)