Browse Source

tools/configurator: add HAVE_SYS_TERMIOS_H

As recently required by ccan/opt.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 12 years ago
parent
commit
7471ecd791
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tools/configurator/configurator.c

+ 2 - 0
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 <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,