From: Jérémy Lal Date: Fri, 12 Aug 2022 15:21:50 +0000 (+0100) Subject: keep nodejs compatible with libc-ares public headers X-Git-Tag: archive/raspbian/18.12.1+dfsg-2+rpi1~1^2^2^2~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1ed25d3e74bb890364cf73dd67ee2231bd20da46;p=nodejs.git keep nodejs compatible with libc-ares public headers Forwarded: not-needed Last-Update: 2021-10-20 Gbp-Pq: Topic deps Gbp-Pq: Name cares.patch --- diff --git a/src/cares_wrap.h b/src/cares_wrap.h index 60f99e65e..4e638b572 100644 --- a/src/cares_wrap.h +++ b/src/cares_wrap.h @@ -22,7 +22,15 @@ # include #endif // __POSIX__ -# include +#if defined(__ANDROID__) || \ + defined(__MINGW32__) || \ + defined(__OpenBSD__) || \ + defined(_MSC_VER) +# include +#else +# include +#endif + namespace node { namespace cares_wrap {