Skip to content

Commit b9166f4

Browse files
committed
Include sys/reg.h on Android.
1 parent 20591a3 commit b9166f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libc-test/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ fn main() {
119119
cfg.header("arpa/inet.h");
120120
cfg.header("xlocale.h");
121121
cfg.header("utmp.h");
122+
if i686 || x86_64 {
123+
cfg.header("sys/reg.h");
124+
}
122125
} else if !windows {
123126
cfg.header("glob.h");
124127
cfg.header("ifaddrs.h");

0 commit comments

Comments
 (0)