From: Jérémy Lal Date: Tue, 15 Nov 2022 03:51:54 +0000 (+0000) Subject: keep nodejs compatible with libc-ares public headers X-Git-Tag: archive/raspbian/18.12.1+dfsg-2+rpi1~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f9de477ac062f3f6934fbe7105ce791146e43935;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 {