summaryrefslogtreecommitdiff
path: root/src/wasi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasi.rs')
-rw-r--r--src/wasi.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wasi.rs b/src/wasi.rs
index 12db506417..e06984c98f 100644
--- a/src/wasi.rs
+++ b/src/wasi.rs
@@ -322,6 +322,11 @@ pub const ENOTCAPABLE: c_int = 76;
pub const EOPNOTSUPP: c_int = ENOTSUP;
pub const EWOULDBLOCK: c_int = EAGAIN;
+pub const _SC_PAGESIZE: c_int = 30;
+pub const _SC_PAGE_SIZE: ::c_int = _SC_PAGESIZE;
+pub const _SC_IOV_MAX: c_int = 60;
+pub const _SC_SYMLOOP_MAX: c_int = 173;
+
#[cfg_attr(
feature = "rustc-dep-of-std",
link(name = "c", kind = "static", cfg(target_feature = "crt-static"))