Skip to content

Commit

Permalink
l4re: fix build by adding required constants
Browse files Browse the repository at this point in the history
  • Loading branch information
skrap committed Sep 24, 2021
1 parent 7a64fe9 commit 95656b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/unix/linux_like/linux/uclibc/x86_64/l4re.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,8 @@ pub struct pthread_attr_t {
// L4Re requires a min stack size of 64k; that isn't defined in uClibc, but
// somewhere in the core libraries. uClibc wants 16k, but that's not enough.
pub const PTHREAD_STACK_MIN: usize = 65536;

// Misc other constants required for building.
pub const SIGIO: ::c_int = 29;
pub const B19200: ::speed_t = 0o000016;
pub const B38400: ::speed_t = 0o000017;

0 comments on commit 95656b9

Please sign in to comment.