fix x86_64-linux-gnu build
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a433937d39
commit
b7fb2057f7
3 changed files with 5 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ pub const Context = struct {
|
|||
};
|
||||
errdefer std.os.inotify_rm_watch(notify_fd, notify_wd);
|
||||
|
||||
const notify_pipe_fd = std.os.pipe2(std.os.O.NONBLOCK) catch |err| switch (err) {
|
||||
const notify_pipe_fd = std.os.pipe2(.{ .NONBLOCK = true }) catch |err| switch (err) {
|
||||
error.ProcessFdQuotaExceeded,
|
||||
error.SystemFdQuotaExceeded,
|
||||
=> return error.SystemResources,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue