From 2b2599833c02c9da4058e35b5bb18e45748a11e9 Mon Sep 17 00:00:00 2001 From: Andrea Fioraldi Date: Wed, 17 Mar 2021 17:14:46 +0100 Subject: [PATCH] fix timeout executor no_std --- libafl/src/executors/timeout.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libafl/src/executors/timeout.rs b/libafl/src/executors/timeout.rs index 67be37a098..4f0b39cb76 100644 --- a/libafl/src/executors/timeout.rs +++ b/libafl/src/executors/timeout.rs @@ -12,9 +12,9 @@ use crate::{ }; #[cfg(unix)] -use std::os::raw::c_int; +use libc::c_int; #[cfg(unix)] -use std::ptr::null_mut; +use core::ptr::null_mut; #[repr(C)] #[cfg(unix)]