Skip to content

Commit 7e3c99c

Browse files
committed
Auto merge of rust-lang#3193 - devnexen:bsd_unitstd_lconst_haiku, r=JohnTitor
haiku adding bsd missing constants
2 parents c1a63d5 + 4b72138 commit 7e3c99c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,9 @@ pub const EOF: ::c_int = -1;
685685
pub const SEEK_SET: ::c_int = 0;
686686
pub const SEEK_CUR: ::c_int = 1;
687687
pub const SEEK_END: ::c_int = 2;
688+
pub const L_SET: ::c_int = SEEK_SET;
689+
pub const L_INCR: ::c_int = SEEK_CUR;
690+
pub const L_XTND: ::c_int = SEEK_END;
688691
pub const _IOFBF: ::c_int = 0;
689692
pub const _IONBF: ::c_int = 2;
690693
pub const _IOLBF: ::c_int = 1;

0 commit comments

Comments
 (0)