From 7b39545eb3cdb2ab21fc7fdff31567a75824cb43 Mon Sep 17 00:00:00 2001 From: Charles Blake Date: Thu, 1 Sep 2016 14:08:40 -0400 Subject: [PATCH] Evidently Travis build termios.h does not pull in sys/ioctl.h but my initial test system did. --- lib/posix/termios.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/posix/termios.nim b/lib/posix/termios.nim index f8de740d76..1fbccba9c8 100644 --- a/lib/posix/termios.nim +++ b/lib/posix/termios.nim @@ -263,7 +263,7 @@ proc tcGetSid*(fd: cint): Pid {.importc: "tcgetsid", header: "".} # Window size ioctl. Should work on on any Unix that xterm has been ported to. var TIOCGWINSZ*{.importc, header: "".}: culong -type IOctl_WinSize* {.importc: "struct winsize", header: "", +type IOctl_WinSize* {.importc: "struct winsize", header: "", final, pure.} = object ws_row*, ws_col*, ws_xpixel*, ws_ypixel*: cushort