File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
src/unix/bsd/netbsdlike/netbsd Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -1038,6 +1038,7 @@ fn test_netbsd(target: &str) {
1038
1038
"string.h" ,
1039
1039
"sys/endian.h" ,
1040
1040
"sys/exec_elf.h" ,
1041
+ "sys/xattr.h" ,
1041
1042
"sys/extattr.h" ,
1042
1043
"sys/file.h" ,
1043
1044
"sys/ioctl.h" ,
Original file line number Diff line number Diff line change @@ -1534,4 +1534,7 @@ vm_size_t
1534
1534
wait4
1535
1535
waitid
1536
1536
dirname
1537
- basename
1537
+ basename
1538
+ XATTR_CREATE
1539
+ XATTR_REPLACE
1540
+ EXTATTR_NAMESPACE_EMPTY
Original file line number Diff line number Diff line change @@ -2315,6 +2315,12 @@ pub const _REG_RFLAGS: ::c_int = 23;
2315
2315
pub const _REG_RSP: :: c_int = 24 ;
2316
2316
pub const _REG_SS: :: c_int = 25 ;
2317
2317
2318
+ // sys/xattr.h
2319
+ pub const XATTR_CREATE : :: c_int = 0x01 ;
2320
+ pub const XATTR_REPLACE : :: c_int = 0x02 ;
2321
+ // sys/extattr.h
2322
+ pub const EXTATTR_NAMESPACE_EMPTY : :: c_int = 0 ;
2323
+
2318
2324
const_fn ! {
2319
2325
{ const } fn _ALIGN( p: usize ) -> usize {
2320
2326
( p + _ALIGNBYTES) & !_ALIGNBYTES
You can’t perform that action at this time.
0 commit comments