diff --git a/src/unix/hermit/mod.rs b/src/unix/hermit/mod.rs
index 56555e847cb1844c677db0d58c2dbfb2d31c7e3e..aafd56eff8b85d7f11890f7c9da976c82b2ab2e4 100644
--- a/src/unix/hermit/mod.rs
+++ b/src/unix/hermit/mod.rs
@@ -19,10 +19,8 @@
 pub type c_long = i64;
 pub type c_ulong = u64;
 
-#[allow(unused)]
-pub type uid_t = u16;
-#[allow(unused)]
-pub type gid_t = u16;
+//pub type uid_t = u16;
+//pub type gid_t = u16;
 pub type speed_t = ::c_uint;
 pub type mode_t = u32;
 pub type dev_t = i16;