Evidently Travis build termios.h does not pull in sys/ioctl.h
but my initial test system did.
This commit is contained in:
parent
d65589fe27
commit
7b39545eb3
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ proc tcGetSid*(fd: cint): Pid {.importc: "tcgetsid", header: "<termios.h>".}
|
||||||
# Window size ioctl. Should work on on any Unix that xterm has been ported to.
|
# Window size ioctl. Should work on on any Unix that xterm has been ported to.
|
||||||
var TIOCGWINSZ*{.importc, header: "<sys/ioctl.h>".}: culong
|
var TIOCGWINSZ*{.importc, header: "<sys/ioctl.h>".}: culong
|
||||||
|
|
||||||
type IOctl_WinSize* {.importc: "struct winsize", header: "<termios.h>",
|
type IOctl_WinSize* {.importc: "struct winsize", header: "<sys/ioctl.h>",
|
||||||
final, pure.} = object
|
final, pure.} = object
|
||||||
ws_row*, ws_col*, ws_xpixel*, ws_ypixel*: cushort
|
ws_row*, ws_col*, ws_xpixel*, ws_ypixel*: cushort
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue