mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Declare res_init() for builds against Android's Bionic
res_init() exists in the C library here and as such is detected by configure, but it is not declared in any header.
This commit is contained in:
parent
f4a1882341
commit
25fa94eb82
@ -232,6 +232,10 @@ g_resolver_set_default (GResolver *resolver)
|
||||
default_resolver = g_object_ref (resolver);
|
||||
}
|
||||
|
||||
/* Bionic has res_init() but it's not in any header */
|
||||
#ifdef __BIONIC__
|
||||
int res_init (void);
|
||||
#endif
|
||||
|
||||
static void
|
||||
g_resolver_maybe_reload (GResolver *resolver)
|
||||
|
Loading…
Reference in New Issue
Block a user