From 913da6cc3a5f85ffb9556c56a325d74f87c8671c Mon Sep 17 00:00:00 2001
From: Geoff Cant <nem@erlang.geek.nz>
Date: Fri, 24 Mar 2017 01:20:29 -0700
Subject: [PATCH] Add FIONREAD for apple/b64

---
 src/unix/bsd/apple/b64.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/unix/bsd/apple/b64.rs b/src/unix/bsd/apple/b64.rs
index 327a4b63..3f832308 100644
--- a/src/unix/bsd/apple/b64.rs
+++ b/src/unix/bsd/apple/b64.rs
@@ -17,3 +17,5 @@ pub const __PTHREAD_RWLOCK_SIZE__: usize = 192;
 
 pub const TIOCTIMESTAMP: ::c_ulong = 0x40107459;
 pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40107458;
+
+pub const FIONREAD: ::c_ulong = 0x4004667f;
-- 
GitLab