Fix the build on non-Linux platforms.

This commit is contained in:
Uwe Hermann 2013-11-22 11:56:40 +01:00
parent d2ac0e3bbe
commit da21834e42
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,8 @@
* TCSETX/TCGETX ioctls used with struct termiox, others do not.
*/
#ifdef __linux__
#include <linux/termios.h>
#include "linux_termios.h"
@ -127,3 +129,6 @@ void set_termiox_flow(void *data, int flags)
termx->x_cflag |= DSRXON;
}
#endif
#endif