Merge tag '9p-for-4.20' of git://github.com/martinetd/linux
[linux-block.git] / include / linux / dns_resolver.h
index 6ac3cad9aef109171a5882ee2c5afb30e230c8d4..34a744a1bafcbc84c4e2992435f14b71610a4c88 100644 (file)
 #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 */