mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 23:44:59 +02:00
Dont use the syscall package
This commit is contained in:
@@ -14,6 +14,6 @@ func Select(nfd int, r *unix.FdSet, w *unix.FdSet, e *unix.FdSet, timeout time.D
|
||||
if timeout < 0 {
|
||||
return unix.Select(nfd, r, w, e, nil)
|
||||
}
|
||||
ts := NsecToTimeval(timeout)
|
||||
ts := unix.NsecToTimeval(int64(timeout))
|
||||
return unix.Select(nfd, r, w, e, &ts)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user