Skip to content

Commit fb01ddb

Browse files
authored
Merge pull request #4472 from tgross35/fix-hurd
hurd: Fix build from missing `fpos_t`
2 parents f332c21 + 72f49c9 commit fb01ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ cfg_if! {
567567
}
568568

569569
cfg_if! {
570-
if #[cfg(not(target_env = "gnu"))] {
570+
if #[cfg(not(all(target_os = "linux", target_env = "gnu")))] {
571571
missing! {
572572
#[cfg_attr(feature = "extra_traits", derive(Debug))]
573573
pub enum fpos_t {} // FIXME(unix): fill this out with a struct

0 commit comments

Comments
 (0)