Skip to content

Commit 95656b9

Browse files
committed
l4re: fix build by adding required constants
1 parent 7a64fe9 commit 95656b9

File tree

1 file changed

+5
-0
lines changed
  • src/unix/linux_like/linux/uclibc/x86_64

1 file changed

+5
-0
lines changed

src/unix/linux_like/linux/uclibc/x86_64/l4re.rs

+5
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@ pub struct pthread_attr_t {
4646
// L4Re requires a min stack size of 64k; that isn't defined in uClibc, but
4747
// somewhere in the core libraries. uClibc wants 16k, but that's not enough.
4848
pub const PTHREAD_STACK_MIN: usize = 65536;
49+
50+
// Misc other constants required for building.
51+
pub const SIGIO: ::c_int = 29;
52+
pub const B19200: ::speed_t = 0o000016;
53+
pub const B38400: ::speed_t = 0o000017;

0 commit comments

Comments
 (0)