2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Fixed compilation error without ares/c-ares
	* src/NameResolver.h:
pull/1/head
Tatsuhiro Tsujikawa 2008-03-01 09:31:54 +00:00
parent 3f17f5ffd7
commit 4771fcf53c
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed compilation error without ares/c-ares
* src/NameResolver.h:
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added a test for large file.

View File

@ -33,6 +33,7 @@
*/
/* copyright --> */
#include "NameResolver.h"
#include "DlAbortEx.h"
#include <cstring>
namespace aria2 {

View File

@ -50,8 +50,12 @@ extern "C" {
} /* end of extern "C" */
#endif
#endif // ENABLE_ASYNC_DNS
namespace aria2 {
#ifdef ENABLE_ASYNC_DNS
#ifdef HAVE_LIBCARES1_5
void callback(void* arg, int status, int timeouts, struct hostent* host);
#else