Skip to content

Commit

Permalink
Auto merge of #2592 - skrap:uclibc-fix-extproc-type, r=Amanieu
Browse files Browse the repository at this point in the history
uclibc: fix type of EXTPROC.

All of the other related constants are of type `tcflag_t`, but this one was wrong.  This change will fix the build of `nix`.

(Ref nix-rust/nix#1603)
  • Loading branch information
bors committed Dec 15, 2021
2 parents 1bb5275 + 2ed4fbf commit a5b609c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/linux_like/linux/uclibc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ pub const BUFSIZ: ::c_int = 4096;
pub const EDEADLOCK: ::c_int = EDEADLK;
pub const EXTA: ::c_uint = B19200;
pub const EXTB: ::c_uint = B38400;
pub const EXTPROC: ::c_int = 0200000;
pub const EXTPROC: ::tcflag_t = 0200000;
pub const FAN_MARK_FILESYSTEM: ::c_int = 0x00000100;
pub const FAN_MARK_INODE: ::c_int = 0x00000000;
pub const FAN_MARK_MOUNT: ::c_int = 0x10;
Expand Down

0 comments on commit a5b609c

Please sign in to comment.