]> git.ozlabs.org Git - ccan/commit - ccan/opt/usage.c
opt: only use termios if HAVE_SYS_TERMIOS_H is defined
authorLuke Dashjr <luke-jr+git@utopios.org>
Wed, 5 Feb 2014 21:27:40 +0000 (21:27 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 6 Feb 2014 02:27:26 +0000 (12:57 +1030)
commitd218dcd458cbec7a1b958af39b70cd068da7b040
tree9a36a3220f2dfedfbc79dd6374343b7ed7120c2e
parent9273220c47005235da7cfed1221e13dd19065093
opt: only use termios if HAVE_SYS_TERMIOS_H is defined

This fixes building for Windows and other platforms which lack <sys/termios.h>

Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/opt/usage.c