aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r--libbb/xfuncs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index f2112aec9..6fa21ad00 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -305,6 +305,7 @@ int FAST_FUNC get_terminal_width(int fd)
305 return width; 305 return width;
306} 306}
307 307
308#if !ENABLE_PLATFORM_MINGW32
308int FAST_FUNC tcsetattr_stdin_TCSANOW(const struct termios *tp) 309int FAST_FUNC tcsetattr_stdin_TCSANOW(const struct termios *tp)
309{ 310{
310 return tcsetattr(STDIN_FILENO, TCSANOW, tp); 311 return tcsetattr(STDIN_FILENO, TCSANOW, tp);
@@ -380,6 +381,7 @@ int FAST_FUNC set_termios_to_raw(int fd, struct termios *oldterm, int flags)
380 get_termios_and_make_raw(fd, &newterm, oldterm, flags); 381 get_termios_and_make_raw(fd, &newterm, oldterm, flags);
381 return tcsetattr(fd, TCSANOW, &newterm); 382 return tcsetattr(fd, TCSANOW, &newterm);
382} 383}
384#endif
383 385
384pid_t FAST_FUNC safe_waitpid(pid_t pid, int *wstat, int options) 386pid_t FAST_FUNC safe_waitpid(pid_t pid, int *wstat, int options)
385{ 387{