tools/configurator: add HAVE_SYS_TERMIOS_H
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 6 Feb 2014 03:50:59 +0000 (14:20 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 6 Feb 2014 03:50:59 +0000 (14:20 +1030)
As recently required by ccan/opt.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/configurator/configurator.c

index bbf7259e6b9306010b99113c98548621f33e2891..5ba8cb0bb0c780a54849a8137187d22b647a62da 100644 (file)
@@ -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 <sys/filio.h>\n" },
+       { "HAVE_SYS_TERMIOS_H", OUTSIDE_MAIN, NULL, NULL,
+         "#include <sys/termios.h>\n" },
        { "HAVE_TYPEOF", INSIDE_MAIN, NULL, NULL,
          "__typeof__(argc) i; i = argc; return i == argc ? 0 : 1;" },
        { "HAVE_UTIME", DEFINES_FUNC, NULL, NULL,