Skip to content

Commit

Permalink
Add <linux/sysctl.h> in the list of headers for linux and android
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 5, 2023
1 parent 6630d87 commit 7daf1dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions libc-test/build.rs
Expand Up @@ -1569,6 +1569,7 @@ fn test_android(target: &str) {
"libgen.h",
"limits.h",
"link.h",
"linux/sysctl.h",
"locale.h",
"malloc.h",
"net/ethernet.h",
Expand Down Expand Up @@ -3264,6 +3265,7 @@ fn test_linux(target: &str) {
"libgen.h",
"limits.h",
"link.h",
"linux/sysctl.h",
"locale.h",
"malloc.h",
"mntent.h",
Expand Down
1 change: 0 additions & 1 deletion src/unix/linux_like/android/mod.rs
Expand Up @@ -3177,7 +3177,6 @@ pub const KERN_SECUREMASK: ::c_int = 5;
pub const KERN_PROF: ::c_int = 6;
pub const KERN_NODENAME: ::c_int = 7;
pub const KERN_DOMAINNAME: ::c_int = 8;
pub const KERN_CAP_BSET: ::c_int = 14;
pub const KERN_PANIC: ::c_int = 15;
pub const KERN_REALROOTDEV: ::c_int = 16;
pub const KERN_SPARC_REBOOT: ::c_int = 21;
Expand Down

0 comments on commit 7daf1dc

Please sign in to comment.