From 64506bbee0d691b3a0c6d5d97894426c188bc3df Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Mon, 6 Feb 2023 14:15:48 +0100 Subject: [PATCH] Exchange-fd: fix a compilation issue (msghdr_const structure). --- src/exchange-fd.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exchange-fd.zig b/src/exchange-fd.zig index df7a8a6..8613d8e 100644 --- a/src/exchange-fd.zig +++ b/src/exchange-fd.zig @@ -88,7 +88,7 @@ pub fn send_fd(sockfd: os.socket_t, msg: []const u8, fd: os.fd_t) void { .data = fd, }); - const len = os.sendmsg(sockfd, .{ + const len = os.sendmsg(sockfd, &std.os.msghdr_const{ .name = null, .namelen = 0, .iov = &iov,