diff options
author | Beth Griggs <bgriggs@redhat.com> | 2021-08-10 12:10:09 +0300 |
---|---|---|
committer | Beth Griggs <bgriggs@redhat.com> | 2021-08-11 01:07:29 +0300 |
commit | 3914354cd7ddc65774f13bbe435978217149793c (patch) | |
tree | 561d1ed618e8f283346fa435bbd849c609a9b182 /src/cares_wrap.h | |
parent | f8ed7555cd6b239a31934be183a6bae205757ec0 (diff) |
deps: update c-ares to 1.17.2
Refs: https://github.com/c-ares/c-ares/releases/tag/cares-1_17_2
PR-URL: https://github.com/nodejs/node/pull/39724
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/cares_wrap.h')
-rw-r--r-- | src/cares_wrap.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/cares_wrap.h b/src/cares_wrap.h index aee46a935b3..60f99e65edf 100644 --- a/src/cares_wrap.h +++ b/src/cares_wrap.h @@ -22,15 +22,7 @@ # include <netdb.h> #endif // __POSIX__ -#if defined(__ANDROID__) || \ - defined(__MINGW32__) || \ - defined(__OpenBSD__) || \ - defined(_MSC_VER) - -# include <nameser.h> -#else -# include <arpa/nameser.h> -#endif +# include <ares_nameser.h> namespace node { namespace cares_wrap { |