projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implement SO_TIMESTAMP[NS] fallback for kernels without time64 versions
[musl]
/
src
/
network
/
lookup_name.c
diff --git
a/src/network/lookup_name.c
b/src/network/lookup_name.c
index
5a096ac
..
c93263a
100644
(file)
--- 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 <unistd.h>
#include <pthread.h>
#include <errno.h>
+#include <resolv.h>
#include "lookup.h"
#include "stdio_impl.h"
#include "syscall.h"
#include "lookup.h"
#include "stdio_impl.h"
#include "syscall.h"
@@
-98,9
+99,6
@@
struct dpc_ctx {
int cnt;
};
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
#define RR_A 1
#define RR_CNAME 5
#define RR_AAAA 28