Android doesn't expose res_init in header file

This commit is contained in:
Jon Gjengset 2017-04-28 22:23:33 -04:00
parent f93cf62d9a
commit afebd98131
No known key found for this signature in database
GPG key ID: D64AC9D67176DC71

View file

@ -469,6 +469,10 @@ fn main() {
// it's in a header file?
"endpwent" if android => true,
// Apparently it exists, but isn't defined in a header:
// https://mail.gnome.org/archives/commits-list/2013-May/msg01329.html
"res_init" if android => true,
_ => false,
}
});