File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ fn main() {
171
171
if !uclibc {
172
172
// optionally included in uclibc
173
173
cfg. header ( "sys/xattr.h" ) ;
174
+ cfg. header ( "attr/xattr.h" ) ;
174
175
}
175
176
cfg. header ( "sys/ipc.h" ) ;
176
177
cfg. header ( "sys/msg.h" ) ;
@@ -496,7 +497,7 @@ fn main() {
496
497
// clash so it can't be tested
497
498
"getxattr" | "lgetxattr" | "fgetxattr" | "setxattr" | "lsetxattr" | "fsetxattr" |
498
499
"listxattr" | "llistxattr" | "flistxattr" | "removexattr" | "lremovexattr" |
499
- "fremovexattr" |
500
+ "fremovexattr" | "ENOATTR" |
500
501
"backtrace" |
501
502
"sysinfo" | "newlocale" | "duplocale" | "freelocale" | "uselocale" |
502
503
"nl_langinfo_l" | "wcslen" | "wcstombs" if uclibc => true ,
Original file line number Diff line number Diff line change @@ -1016,3 +1016,5 @@ cfg_if! {
1016
1016
pub use self :: other:: * ;
1017
1017
}
1018
1018
}
1019
+
1020
+ pub const ENOATTR : :: c_int = :: ENODATA ;
You can’t perform that action at this time.
0 commit comments