libgnustl: Drop revision after NDK update
[termux-packages] / packages / krb5 / dnsglue.h.patch
CommitLineData
e38a1e2b
VB
1--- ./lib/krb5/os/dnsglue.h 2016-12-02 04:01:25.000000000 +0530
2+++ ../dnsglue.h 2016-12-06 23:46:48.394430806 +0530
3@@ -150,6 +150,12 @@
4 (ptr) += (incr); \
5 } while (0)
6
7+/* Bionic has res_init() but it's not in any header */
8+#ifdef __BIONIC__
9+extern int res_init (void);
10+extern int res_search (const char *dname, int class, int type,unsigned char *answer, int anslen);
11+#endif
12+
13 struct krb5int_dns_state;
14
15 int krb5int_dns_init(struct krb5int_dns_state **, char *, int, int);