From e250667130ce59777ccf820d9fef75b22bc734bd Mon Sep 17 00:00:00 2001 From: Danny Sonnenschein Date: Wed, 25 Nov 2020 21:38:50 +0100 Subject: [PATCH] Compile fix taken from https://github.com/nodejs/node/pull/36207 --- src/lib/ares_process.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/ares_process.c b/src/lib/ares_process.c index 669f90dd5..439998028 100644 --- a/src/lib/ares_process.c +++ b/src/lib/ares_process.c @@ -60,6 +60,9 @@ #include "ares_nowarn.h" #include "ares_private.h" +#ifndef T_OPT +# define T_OPT 41 /* EDNS0 option (meta-RR) */ +#endif static int try_again(int errnum); static void write_tcp_data(ares_channel channel, fd_set *write_fds,