From 4b72138df99592d9e7acd60de02e30e8af7648db Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 9 Apr 2023 10:40:09 +0000 Subject: haiku adding bsd missing constants --- src/unix/haiku/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/unix/haiku/mod.rs b/src/unix/haiku/mod.rs index 8af90b0de3..2fa3327834 100644 --- a/src/unix/haiku/mod.rs +++ b/src/unix/haiku/mod.rs @@ -685,6 +685,9 @@ pub const EOF: ::c_int = -1; pub const SEEK_SET: ::c_int = 0; pub const SEEK_CUR: ::c_int = 1; pub const SEEK_END: ::c_int = 2; +pub const L_SET: ::c_int = SEEK_SET; +pub const L_INCR: ::c_int = SEEK_CUR; +pub const L_XTND: ::c_int = SEEK_END; pub const _IOFBF: ::c_int = 0; pub const _IONBF: ::c_int = 2; pub const _IOLBF: ::c_int = 1; -- cgit v1.2.1