aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dns_resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dns_resolver.h')
-rw-r--r--include/linux/dns_resolver.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/dns_resolver.h b/include/linux/dns_resolver.h
index 6ac3cad9aef1..34a744a1bafc 100644
--- a/include/linux/dns_resolver.h
+++ b/include/linux/dns_resolver.h
@@ -24,11 +24,9 @@
#ifndef _LINUX_DNS_RESOLVER_H
#define _LINUX_DNS_RESOLVER_H
-#ifdef __KERNEL__
+#include <uapi/linux/dns_resolver.h>
extern int dns_query(const char *type, const char *name, size_t namelen,
const char *options, char **_result, time64_t *_expiry);
-#endif /* KERNEL */
-
#endif /* _LINUX_DNS_RESOLVER_H */