From fc8e55abd848cdae33e20d0cd22484fcf3a597cc Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Mon, 17 Oct 2022 10:39:20 -0600
Subject: [PATCH] Add FIONREAD on Redox

---
 src/header/sys_ioctl/redox.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/header/sys_ioctl/redox.rs b/src/header/sys_ioctl/redox.rs
index c234d0d80..3661fed41 100644
--- a/src/header/sys_ioctl/redox.rs
+++ b/src/header/sys_ioctl/redox.rs
@@ -8,6 +8,7 @@ use crate::{
 
 use super::winsize;
 
+pub const FIONREAD: c_ulong = 0x541B;
 pub const FIONBIO: c_ulong = 0x5421;
 
 pub const TCGETS: c_ulong = 0x5401;
-- 
GitLab