aboutsummaryrefslogtreecommitdiffstats
path: root/components/allocator/lib.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2019-01-16 12:43:56 +0100
committerAnthony Ramine <n.oxyde@gmail.com>2019-01-16 14:29:53 +0100
commit600ce022ddbc5282622d16dde557e90ccb1a9355 (patch)
tree33404181c38fc3e05ffbea1a3c310e5a1f9019ea /components/allocator/lib.rs
parentbd0b191d848ded042655635c64fb09b5ef2f8405 (diff)
downloadservo-600ce022ddbc5282622d16dde557e90ccb1a9355.tar.gz
servo-600ce022ddbc5282622d16dde557e90ccb1a9355.zip
Make Servo components use winapi 0.3
Diffstat (limited to 'components/allocator/lib.rs')
-rw-r--r--components/allocator/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/allocator/lib.rs b/components/allocator/lib.rs
index 40d7bc78c85..45a535a6e41 100644
--- a/components/allocator/lib.rs
+++ b/components/allocator/lib.rs
@@ -98,9 +98,9 @@ mod platform {
#[cfg(windows)]
mod platform {
- use kernel32::{GetProcessHeap, HeapSize, HeapValidate};
pub use std::alloc::System as Allocator;
use std::os::raw::c_void;
+ use winapi::um::heapapi::{GetProcessHeap, HeapSize, HeapValidate};
/// Get the size of a heap block.
pub unsafe extern "C" fn usable_size(mut ptr: *const c_void) -> usize {