diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-12-08 14:38:49 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-12-21 23:38:03 +0800 |
commit | 90629caa61b605c403aa33c1e3d7bdd2d7b6cb6b (patch) | |
tree | ef047e7e91bd7535e499e348b551c0cbfc342efe /configure.ac | |
parent | 9cec0ad02c056c8c22b61847833fe6b27b7badda (diff) |
Solaris build fixes: detect <termios.h> in configure
The header is already used appropriately in the code.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 46b466d0..99a12cd4 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 <sys/ioctl.h> #endif + + #ifdef HAVE_TERMIOS_H + #include <termios.h> + #endif ], [ /* Avert high-level optimisation, by making the program's |