refactor: use in-crate libc for item unit tests
This test only validates encoding, the syscall number values are not
relevant, so just use in-crate libc for portability
@@ -148,8 +148,7 @@ impl<'a> Iterator for BlockIterator<'a> {
mod tests {
use super::*;
use crate::item::Header;
-
- use libc::{SYS_exit, SYS_read, ENOSYS};
+ use crate::libc::{SYS_exit, SYS_read, ENOSYS};
const HEADER_USIZE_COUNT: usize = size_of::<Header>() / size_of::<usize>();
