Skip to content

Commit a5b609c

Browse files
committed
Auto merge of #2592 - skrap:uclibc-fix-extproc-type, r=Amanieu
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)
2 parents 1bb5275 + 2ed4fbf commit a5b609c

File tree

1 file changed

+1
-1
lines changed
  • src/unix/linux_like/linux/uclibc

1 file changed

+1
-1
lines changed

src/unix/linux_like/linux/uclibc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ pub const BUFSIZ: ::c_int = 4096;
266266
pub const EDEADLOCK: ::c_int = EDEADLK;
267267
pub const EXTA: ::c_uint = B19200;
268268
pub const EXTB: ::c_uint = B38400;
269-
pub const EXTPROC: ::c_int = 0200000;
269+
pub const EXTPROC: ::tcflag_t = 0200000;
270270
pub const FAN_MARK_FILESYSTEM: ::c_int = 0x00000100;
271271
pub const FAN_MARK_INODE: ::c_int = 0x00000000;
272272
pub const FAN_MARK_MOUNT: ::c_int = 0x10;

0 commit comments

Comments
 (0)