diff --git a/src/resolv/async_resolv.c b/src/resolv/async_resolv.c index 1ccc4183a18..5459db5de11 100644 --- a/src/resolv/async_resolv.c +++ b/src/resolv/async_resolv.c @@ -27,7 +27,6 @@ #include #include -#include #include #include diff --git a/src/resolv/async_resolv.h b/src/resolv/async_resolv.h index a1f9285442d..0d3ad1acb12 100644 --- a/src/resolv/async_resolv.h +++ b/src/resolv/async_resolv.h @@ -27,6 +27,7 @@ #define __ASYNC_RESOLV_H__ #include +#define CARES_NO_DEPRECATED #include #include "config.h"