From 495d41c76e5d931572509839e65e7e6743367ea2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Wed, 11 Jan 2023 16:42:19 +0000 Subject: [PATCH] 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 --- src/cares_wrap.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/cares_wrap.h b/src/cares_wrap.h index ea339b773..a37537bff 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 { -- 2.30.2