]> git.ozlabs.org Git - ccan/commitdiff
opt: test HAVE_SYS_TERMIOS_H via #if
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 6 Feb 2014 03:51:40 +0000 (14:21 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 6 Feb 2014 03:51:40 +0000 (14:21 +1030)
As ccanlint warns.  Also, test TIOCGWINSZ before ioctl, rather than the
header directly since it's a little orthogonal.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found