aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/mem.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/mem.rs')
-rw-r--r--components/script/mem.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/mem.rs b/components/script/mem.rs
index e276b1a5c3d..9e10140392e 100644
--- a/components/script/mem.rs
+++ b/components/script/mem.rs
@@ -7,7 +7,7 @@
use dom::bindings::conversions::get_dom_class;
use dom::bindings::reflector::Reflectable;
use heapsize::{HeapSizeOf, heap_size_of};
-use libc::c_void;
+use std::os::raw::c_void;
// This is equivalent to measuring a Box<T>, except that DOM objects lose their
// associated box in order to stash their pointers in a reserved slot of their