diff --git a/src/unix/bsd/apple/b32.rs b/src/unix/bsd/apple/b32.rs
index d2c567161238fa2b52cbc4ef2930853c88c871d5..80916b3b7840de7ce16139fa50e89677b778431d 100644
--- a/src/unix/bsd/apple/b32.rs
+++ b/src/unix/bsd/apple/b32.rs
@@ -13,3 +13,6 @@ s! {
 pub const __PTHREAD_MUTEX_SIZE__: usize = 40;
 pub const __PTHREAD_COND_SIZE__: usize = 24;
 pub const __PTHREAD_RWLOCK_SIZE__: usize = 124;
+
+pub const TIOCTIMESTAMP: ::c_ulong = 0x40087459;
+pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40087458;
diff --git a/src/unix/bsd/apple/b64.rs b/src/unix/bsd/apple/b64.rs
index 784aa9b5dad3366af670d15c7729be5148a44862..92962280777aab34a60f09f6403a104c958ba734 100644
--- a/src/unix/bsd/apple/b64.rs
+++ b/src/unix/bsd/apple/b64.rs
@@ -13,3 +13,6 @@ s! {
 pub const __PTHREAD_MUTEX_SIZE__: usize = 56;
 pub const __PTHREAD_COND_SIZE__: usize = 40;
 pub const __PTHREAD_RWLOCK_SIZE__: usize = 192;
+
+pub const TIOCTIMESTAMP: ::c_ulong = 0x40107459;
+pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40107458;
diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs
index 2b5da7ff0aa90603bc31d512e5e351b803a74ec2..70cd42c7aede6461b5f8c1b708927512ea0f4051 100644
--- a/src/unix/bsd/apple/mod.rs
+++ b/src/unix/bsd/apple/mod.rs
@@ -549,8 +549,6 @@ pub const TIOCSIG: ::c_uint = 0x2000745f;
 pub const TIOCDRAIN: ::c_uint = 0x2000745e;
 pub const TIOCMSDTRWAIT: ::c_ulong = 0x8004745b;
 pub const TIOCMGDTRWAIT: ::c_ulong = 0x4004745a;
-pub const TIOCTIMESTAMP: ::c_ulong = 0x40107459;
-pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40107458;
 pub const TIOCSDRAINWAIT: ::c_ulong = 0x80047457;
 pub const TIOCGDRAINWAIT: ::c_ulong = 0x40047456;
 pub const TIOCDSIMICROCODE: ::c_uint = 0x20007455;