diff --git a/configure.ac b/configure.ac index 46b466d0c..99a12cd4c 100644 --- a/configure.ac +++ b/configure.ac @@ -450,6 +450,10 @@ for i in "" "-D_POSIX_C_SOURCE=200112L" "-D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=2 /* As above (under at least Linux and FreeBSD). */ #include #endif + + #ifdef HAVE_TERMIOS_H + #include + #endif ], [ /* Avert high-level optimisation, by making the program's