use x/sys for non-unix files

This commit is contained in:
dmathieu
2017-07-26 10:15:24 +02:00
parent f4125cea1b
commit 8a90bf3fff
4 changed files with 13 additions and 10 deletions
+3 -3
View File
@@ -3,8 +3,8 @@
package logrus
import "syscall"
import "golang.org/x/sys/unix"
const ioctlReadTermios = syscall.TIOCGETA
const ioctlReadTermios = unix.TIOCGETA
type Termios syscall.Termios
type Termios unix.Termios