From: Rusty Russell Date: Thu, 6 Feb 2014 03:50:59 +0000 (+1030) Subject: tools/configurator: add HAVE_SYS_TERMIOS_H X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=7471ecd79174306ee976a4ecc09cc2b9ebb4b501 tools/configurator: add HAVE_SYS_TERMIOS_H As recently required by ccan/opt. Signed-off-by: Rusty Russell --- diff --git a/tools/configurator/configurator.c b/tools/configurator/configurator.c index bbf7259e..5ba8cb0b 100644 --- a/tools/configurator/configurator.c +++ b/tools/configurator/configurator.c @@ -249,6 +249,8 @@ static struct test tests[] = { "return ({ int x = argc; x == argc ? 0 : 1; });" }, { "HAVE_SYS_FILIO_H", OUTSIDE_MAIN, NULL, NULL, /* Solaris needs this for FIONREAD */ "#include \n" }, + { "HAVE_SYS_TERMIOS_H", OUTSIDE_MAIN, NULL, NULL, + "#include \n" }, { "HAVE_TYPEOF", INSIDE_MAIN, NULL, NULL, "__typeof__(argc) i; i = argc; return i == argc ? 0 : 1;" }, { "HAVE_UTIME", DEFINES_FUNC, NULL, NULL,