From: Jérémy Lal Date: Wed, 19 Jun 2024 10:03:27 +0000 (+0200) Subject: keep nodejs compatible with libc-ares public headers X-Git-Tag: archive/raspbian/20.14.0+dfsg-3+rpi1^2~20 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d842f639d8c5a29f1c00d0979051e4f1fbbc9338;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 021ef1c9d..c8148287d 100644 --- a/src/cares_wrap.h +++ b/src/cares_wrap.h @@ -23,7 +23,15 @@ # include #endif // __POSIX__ -# include +#if defined(__ANDROID__) || \ + defined(__MINGW32__) || \ + defined(__OpenBSD__) || \ + defined(_MSC_VER) +# include +#else +# include +#endif + namespace node { namespace cares_wrap {