Skip to content

Commit fb83571

Browse files
committed
Add libc to mimalloc-sys
1 parent 3a94859 commit fb83571

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libmimalloc-sys/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ links = "mimalloc"
1212

1313
[dependencies]
1414
cty = { version = "0.2", optional = true }
15+
libc = "0.2"
1516

1617
[build-dependencies]
1718
cc = "1.0"

libmimalloc-sys/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
use core::ffi::c_void;
55

6+
extern crate libc;
7+
68
#[cfg(feature = "extended")]
79
mod extended;
810
#[cfg(feature = "extended")]

0 commit comments

Comments
 (0)