]> git.ozlabs.org Git - ccan/commit
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)
commite4fbff960f8d384ee793259ff6e13bb798114c98
tree62ffacfb3947ff0b7f3def7d5bf08881bd0673c8
parent7471ecd79174306ee976a4ecc09cc2b9ebb4b501
opt: test HAVE_SYS_TERMIOS_H via #if

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>
ccan/opt/usage.c