diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 4570f2a..60b38ba 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -39,7 +39,7 @@ use std::default::Default; use std::ffi::{CStr, CString}; use std::ops::Drop; use std::os::raw::{c_char, c_void}; - +use std::ptr; // Simple offset_of macro akin to C++ offsetof #[macro_export]