Skip to content

Commit

Permalink
Corrected no-std build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSchmid committed May 7, 2023
1 parent 28be3ef commit 780f235
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion etherparse/src/internet/ip_header.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use super::super::*;
use crate::err::{Layer, LenError, LenSource, ValueTooBigError, ip::HeaderWriteError};
use crate::err::{Layer, LenError, LenSource, ValueTooBigError};
#[cfg(feature = "std")]
use crate::err::ip::HeaderWriteError;

/// Internet protocol headers version 4 & 6.
#[derive(Clone, Debug, Eq, PartialEq)]
Expand Down

0 comments on commit 780f235

Please sign in to comment.