Add header file for utmp(x)

This commit is contained in:
Knight 2016-07-27 19:42:36 +08:00
parent 09261133a0
commit a6b283b133

View File

@ -105,6 +105,7 @@ fn main() {
cfg.header("arpa/inet.h");
cfg.header("time64.h");
cfg.header("xlocale.h");
cfg.header("utmp.h");
} else if !windows {
cfg.header("glob.h");
cfg.header("ifaddrs.h");
@ -122,6 +123,12 @@ fn main() {
cfg.header("execinfo.h");
cfg.header("xlocale.h");
}
if openbsd {
cfg.header("utmp.h");
} else {
cfg.header("utmpx.h");
}
}
}