mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Fix compilation on Android with the bionic C library
https://bugzilla.gnome.org/show_bug.cgi?id=689223
This commit is contained in:
@@ -244,7 +244,9 @@ g_resolver_maybe_reload (GResolver *resolver)
|
||||
if (st.st_mtime != resolver->priv->resolv_conf_timestamp)
|
||||
{
|
||||
resolver->priv->resolv_conf_timestamp = st.st_mtime;
|
||||
#ifdef HAVE_RES_INIT
|
||||
res_init ();
|
||||
#endif
|
||||
g_signal_emit (resolver, signals[RELOAD], 0);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user