Skip to content

Commit e049f04

Browse files
committed
Add attr/xattr.h header
1 parent 755f04a commit e049f04

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

libc-test/build.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,6 +1228,7 @@ fn test_android(target: &str) {
12281228
headers! { cfg:
12291229
"arpa/inet.h",
12301230
"asm/mman.h",
1231+
"attr/xattr.h",
12311232
"ctype.h",
12321233
"dirent.h",
12331234
"dlfcn.h",
@@ -1399,12 +1400,8 @@ fn test_android(target: &str) {
13991400

14001401
cfg.skip_const(move |name| {
14011402
match name {
1402-
// Android uses old kernel headers
1403-
// These are constants used in getrandom syscall
1404-
// "GRND_NONBLOCK" | "GRND_RANDOM" => true,
1405-
1406-
// Defined by libattr not libc on linux (hard to test).
1407-
// See constant definition for more details.
1403+
// Not part of any system headers - should be removed
1404+
// or deprecated.
14081405
// "ENOATTR" => true,
14091406

14101407
// FIXME: still necessary?

0 commit comments

Comments
 (0)