diff options
Diffstat (limited to 'src/network/lookup_name.c')
-rw-r--r-- | src/network/lookup_name.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/network/lookup_name.c b/src/network/lookup_name.c index 5a096ac0..c93263a9 100644 --- a/src/network/lookup_name.c +++ b/src/network/lookup_name.c @@ -10,6 +10,7 @@ #include <unistd.h> #include <pthread.h> #include <errno.h> +#include <resolv.h> #include "lookup.h" #include "stdio_impl.h" #include "syscall.h" @@ -98,9 +99,6 @@ struct dpc_ctx { int cnt; }; -int __dn_expand(const unsigned char *, const unsigned char *, const unsigned char *, char *, int); -int __res_mkquery(int, const char *, int, int, const unsigned char *, int, const unsigned char*, unsigned char *, int); - #define RR_A 1 #define RR_CNAME 5 #define RR_AAAA 28 |