std: add prctl definition when linking libc

This commit is contained in:
Isaac Freund 2020-09-11 16:32:24 +02:00
parent b6f4601545
commit 1078810cef
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -340,3 +340,5 @@ pub extern "c" fn sync() void;
pub extern "c" fn syncfs(fd: c_int) c_int;
pub extern "c" fn fsync(fd: c_int) c_int;
pub extern "c" fn fdatasync(fd: c_int) c_int;
pub extern "c" fn prctl(option: c_int, ...) c_int;