From e4577a77ac1ef8eccdc157eda052b9aecbd5b12f Mon Sep 17 00:00:00 2001 From: Xiaobo Liu Date: Mon, 23 Jan 2023 20:54:05 +0800 Subject: [PATCH] uclibc/mips: add missing O_LARGEFILE constant Signed-off-by: Xiaobo Liu --- src/unix/linux_like/linux/uclibc/mips/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/linux_like/linux/uclibc/mips/mod.rs b/src/unix/linux_like/linux/uclibc/mips/mod.rs index 4f5e6efa20b1c..7ecff6508ec0e 100644 --- a/src/unix/linux_like/linux/uclibc/mips/mod.rs +++ b/src/unix/linux_like/linux/uclibc/mips/mod.rs @@ -51,6 +51,7 @@ pub const O_RSYNC: ::c_int = 0x10; pub const O_DSYNC: ::c_int = 0x10; pub const O_FSYNC: ::c_int = 0x10; pub const O_ASYNC: ::c_int = 0x1000; +pub const O_LARGEFILE: ::c_int = 0x2000; pub const O_NDELAY: ::c_int = 0x80; pub const SOCK_NONBLOCK: ::c_int = 128;