aboutsummaryrefslogtreecommitdiff
path: root/libc/src/unix/haiku
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/unix/haiku')
-rw-r--r--libc/src/unix/haiku/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/src/unix/haiku/mod.rs b/libc/src/unix/haiku/mod.rs
index e65bca7..2aa5d13 100644
--- a/libc/src/unix/haiku/mod.rs
+++ b/libc/src/unix/haiku/mod.rs
@@ -1242,6 +1242,7 @@ extern {
termp: *mut termios,
winp: *mut ::winsize) -> ::pid_t;
pub fn sethostname(name: *const ::c_char, len: ::size_t) -> ::c_int;
+ pub fn uname(buf: *mut ::utsname) -> ::c_int;
}
cfg_if! {