authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-03-03 02:57:11-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-03-03 02:57:11-05:00
log859fc856d38860bbd8738d3a09527d8fcb7dcc7b
treed17de6846171cc5bceb8e58336215cb6d3e6c25c
parentc81345c8aec56a108f6f98001666a1552d65ce85
signaturelock-open Commit is signed but in an unrecognized format.

fix macosx and freebsd build failures


3 files changed, 7 insertions(+), 4 deletions(-)

lib/std/c/darwin.zig+2-2
......@@ -56,9 +56,9 @@ pub extern "c" fn host_get_clock_service(host: host_t, clock_id: clock_id_t, clo
5656pub extern "c" fn mach_port_deallocate(task: ipc_space_t, name: mach_port_name_t) kern_return_t;
5757
5858pub const sf_hdtr = extern struct {
59 headers: [*]iovec_const,
59 headers: [*]const iovec_const,
6060 hdr_cnt: c_int,
61 trailers: [*]iovec_const,
61 trailers: [*]const iovec_const,
6262 trl_cnt: c_int,
6363};
6464
lib/std/c/freebsd.zig+2-2
......@@ -9,9 +9,9 @@ pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int;
99pub extern "c" fn getrandom(buf_ptr: [*]u8, buf_len: usize, flags: c_uint) isize;
1010
1111pub const sf_hdtr = extern struct {
12 headers: [*]iovec_const,
12 headers: [*]const iovec_const,
1313 hdr_cnt: c_int,
14 trailers: [*]iovec_const,
14 trailers: [*]const iovec_const,
1515 trl_cnt: c_int,
1616};
1717pub extern "c" fn sendfile(
lib/std/os/bits/darwin.zig+3
......@@ -926,6 +926,9 @@ pub const ESOCKTNOSUPPORT = 44;
926926/// Operation not supported
927927pub const ENOTSUP = 45;
928928
929/// Operation not supported. Alias of `ENOTSUP`.
930pub const EOPNOTSUPP = ENOTSUP;
931
929932/// Protocol family not supported
930933pub const EPFNOSUPPORT = 46;
931934