mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
Evidently Travis build termios.h does not pull in sys/ioctl.h
but my initial test system did.
This commit is contained in:
@@ -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.
|
||||
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
|
||||
ws_row*, ws_col*, ws_xpixel*, ws_ypixel*: cushort
|
||||
|
||||
|
||||
Reference in New Issue
Block a user