Solaris build fixes: detect <termios.h> in configure

The header is already used appropriately in the code.
This commit is contained in:
David Adam 2014-12-08 14:38:49 +08:00
parent 9cec0ad02c
commit 90629caa61

View file

@ -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). */ /* As above (under at least Linux and FreeBSD). */
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif #endif
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
], ],
[ [
/* Avert high-level optimisation, by making the program's /* Avert high-level optimisation, by making the program's