Skip to content

Commit

Permalink
Define DT_UNKNOWN on Fuchsia.
Browse files Browse the repository at this point in the history
  • Loading branch information
anp committed Jan 26, 2022
1 parent a79788f commit af30859
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fuchsia/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,7 @@ pub const SIG_DFL: sighandler_t = 0 as sighandler_t;
pub const SIG_IGN: sighandler_t = 1 as sighandler_t;
pub const SIG_ERR: sighandler_t = !0 as sighandler_t;

pub const DT_UNKNOWN: u8 = 0;
pub const DT_FIFO: u8 = 1;
pub const DT_CHR: u8 = 2;
pub const DT_DIR: u8 = 4;
Expand Down

0 comments on commit af30859

Please sign in to comment.