From 90629caa61b605c403aa33c1e3d7bdd2d7b6cb6b Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 8 Dec 2014 14:38:49 +0800 Subject: [PATCH] Solaris build fixes: detect in configure The header is already used appropriately in the code. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) 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