Include sys/reg.h on Android.

This commit is contained in:
Marcin Mielniczuk 2017-08-01 16:20:13 +02:00
parent 20591a37b9
commit b9166f42ff

View File

@ -119,6 +119,9 @@ fn main() {
cfg.header("arpa/inet.h");
cfg.header("xlocale.h");
cfg.header("utmp.h");
if i686 || x86_64 {
cfg.header("sys/reg.h");
}
} else if !windows {
cfg.header("glob.h");
cfg.header("ifaddrs.h");