Skip to content

Commit 7daf1dc

Browse files
Add <linux/sysctl.h> in the list of headers for linux and android
1 parent 6630d87 commit 7daf1dc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

libc-test/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,6 +1569,7 @@ fn test_android(target: &str) {
15691569
"libgen.h",
15701570
"limits.h",
15711571
"link.h",
1572+
"linux/sysctl.h",
15721573
"locale.h",
15731574
"malloc.h",
15741575
"net/ethernet.h",
@@ -3264,6 +3265,7 @@ fn test_linux(target: &str) {
32643265
"libgen.h",
32653266
"limits.h",
32663267
"link.h",
3268+
"linux/sysctl.h",
32673269
"locale.h",
32683270
"malloc.h",
32693271
"mntent.h",

src/unix/linux_like/android/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3177,7 +3177,6 @@ pub const KERN_SECUREMASK: ::c_int = 5;
31773177
pub const KERN_PROF: ::c_int = 6;
31783178
pub const KERN_NODENAME: ::c_int = 7;
31793179
pub const KERN_DOMAINNAME: ::c_int = 8;
3180-
pub const KERN_CAP_BSET: ::c_int = 14;
31813180
pub const KERN_PANIC: ::c_int = 15;
31823181
pub const KERN_REALROOTDEV: ::c_int = 16;
31833182
pub const KERN_SPARC_REBOOT: ::c_int = 21;

0 commit comments

Comments
 (0)