Fix compilation on Android with the bionic C library

https://bugzilla.gnome.org/show_bug.cgi?id=689223
This commit is contained in:
Sebastian Dröge
2012-11-28 16:55:54 +01:00
parent 5e2cad9de9
commit bcbaf1bef0
11 changed files with 349 additions and 27 deletions

View File

@@ -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);
}
}