diff options
author | Razican <razican@protonmail.ch> | 2017-05-26 17:52:12 +0200 |
---|---|---|
committer | Razican <razican@protonmail.ch> | 2017-05-26 17:52:12 +0200 |
commit | 406b01a811a00bbb831e28d3f563774cde4bfa23 (patch) | |
tree | b52d10ee0a686c86efb1f669cd1c54435f084fd3 /src/unix/bsd | |
parent | b993a9bf4c0350e6f3b72ba0635dc47b2fe67f46 (diff) | |
download | rust-libc-406b01a811a00bbb831e28d3f563774cde4bfa23.tar.gz |
Fixed targets without the sync() function
Diffstat (limited to 'src/unix/bsd')
-rw-r--r-- | src/unix/bsd/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/bsd/mod.rs b/src/unix/bsd/mod.rs index 96b0f22a10..deddca042d 100644 --- a/src/unix/bsd/mod.rs +++ b/src/unix/bsd/mod.rs @@ -432,6 +432,8 @@ extern { link_name = "recvmsg$UNIX2003")] pub fn recvmsg(fd: ::c_int, msg: *mut ::msghdr, flags: ::c_int) -> ::ssize_t; + + pub fn sync(); } cfg_if! { |