diff --git a/src/fd/mod.rs b/src/fd/mod.rs index bb54bdecc2..ada94b5ffa 100644 --- a/src/fd/mod.rs +++ b/src/fd/mod.rs @@ -86,6 +86,10 @@ bitflags! { const S_IFSOCK = 0140000; const S_IFLNK = 0o120000; const S_IFREG = 0o100000; + const S_IFBLK = 0o060000; + const S_IFDIR = 0o040000; + const S_IFCHR = 0o020000; + const S_IFIFO = 0o010000; const S_IRUSR = 0o400; const S_IWUSR = 0o200; const S_IXUSR = 0o100;