Skip to content

Commit

Permalink
Add libc to mimalloc-sys
Browse files Browse the repository at this point in the history
  • Loading branch information
thomcc committed Nov 15, 2022
1 parent 3a94859 commit fb83571
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libmimalloc-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ links = "mimalloc"

[dependencies]
cty = { version = "0.2", optional = true }
libc = "0.2"

[build-dependencies]
cc = "1.0"
Expand Down
2 changes: 2 additions & 0 deletions libmimalloc-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

use core::ffi::c_void;

extern crate libc;

#[cfg(feature = "extended")]
mod extended;
#[cfg(feature = "extended")]
Expand Down

0 comments on commit fb83571

Please sign in to comment.