mirror of
https://github.com/mfontanini/libtins
synced 2026-01-25 11:41:35 +01:00
Fixed compilation issues triggered in GNU/kFreeBSD.
This commit is contained in:
@@ -409,7 +409,7 @@ void IP::write_serialization(uint8_t *buffer, uint32_t total_sz, const PDU* pare
|
||||
//flag(new_flag);
|
||||
}
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#if __FreeBSD__ || defined(__FreeBSD_kernel__)
|
||||
if(!parent)
|
||||
total_sz = Endian::host_to_be<uint16_t>(total_sz);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user