From da21834e42bc58065de0871f49fffefa605d4c5b Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 22 Nov 2013 11:56:40 +0100 Subject: [PATCH] Fix the build on non-Linux platforms. --- linux_termios.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linux_termios.c b/linux_termios.c index b50b2c9..743af60 100644 --- a/linux_termios.c +++ b/linux_termios.c @@ -33,6 +33,8 @@ * TCSETX/TCGETX ioctls used with struct termiox, others do not. */ +#ifdef __linux__ + #include #include "linux_termios.h" @@ -127,3 +129,6 @@ void set_termiox_flow(void *data, int flags) termx->x_cflag |= DSRXON; } #endif + +#endif +