* TCSETX/TCGETX ioctls used with struct termiox, others do not.
*/
-#if defined(__linux__) && !defined(__ANDROID__)
-
#include <linux/termios.h>
#include "linux_termios.h"
#endif
}
+#if defined(HAVE_TERMIOS_SPEED) || defined(HAVE_TERMIOS2_SPEED)
int get_termios_speed(void *data)
{
#ifdef HAVE_TERMIOS2
term->c_cflag |= BOTHER;
term->c_ispeed = term->c_ospeed = speed;
}
+#endif
#ifdef HAVE_TERMIOX
int get_termiox_size(void)
termx->x_cflag |= DSRXON;
}
#endif
-
-#endif