Fixed compilation error without ares/c-ares * src/NameResolver.h:
@@ -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.
@@ -33,6 +33,7 @@
*/
/* copyright --> */
#include "NameResolver.h"
+#include "DlAbortEx.h"
#include <cstring>
namespace aria2 {
@@ -50,8 +50,12 @@ extern "C" {
} /* end of extern "C" */
#endif
+#endif // ENABLE_ASYNC_DNS
+#ifdef ENABLE_ASYNC_DNS
#ifdef HAVE_LIBCARES1_5
void callback(void* arg, int status, int timeouts, struct hostent* host);
#else