diff options
| author | Corey Richardson <corey@octayn.net> | 2014-02-26 12:58:41 -0500 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-04 09:31:44 -0700 |
| commit | 0459ee77d0c764cc27950465cb19053e1456cc95 (patch) | |
| tree | 9fa60ca3a09b8bf87bcd9a53ca3c673f84610e5c /src/libflate | |
| parent | 06ad5eb459f1072d79a815210d69af55ef174d20 (diff) | |
Fix fallout from std::libc separation
Diffstat (limited to 'src/libflate')
| -rw-r--r-- | src/libflate/lib.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libflate/lib.rs b/src/libflate/lib.rs index ddcd8cf46bb..97e03561b87 100644 --- a/src/libflate/lib.rs +++ b/src/libflate/lib.rs @@ -26,13 +26,14 @@ Simple compression #[cfg(test)] #[phase(syntax, link)] extern crate log; -use std::libc::{c_void, size_t, c_int}; -use std::libc; +extern crate libc; + use std::c_vec::CVec; +use libc::{c_void, size_t, c_int}; -pub mod rustrt { - use std::libc::{c_int, c_void, size_t}; +pub mod rustrt { + use libc::{c_void, size_t, c_int}; #[link(name = "miniz", kind = "static")] extern { pub fn tdefl_compress_mem_to_heap(psrc_buf: *c_void, |
