diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-09-23 11:07:57 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-09-23 11:10:18 -0700 |
commit | 94bedc60f4ea429c9051422916014835374c51d5 (patch) | |
tree | eea30f9fdb0e0c7b720b153d303c2f0b8a3c51ac /deps/uv/src/unix/tty.c | |
parent | 1e37efb08bbd1ebd82437b417329b6f8f1639fd0 (diff) | |
download | android-node-v8-94bedc60f4ea429c9051422916014835374c51d5.tar.gz android-node-v8-94bedc60f4ea429c9051422916014835374c51d5.tar.bz2 android-node-v8-94bedc60f4ea429c9051422916014835374c51d5.zip |
Upgrade libuv to f20297f
Diffstat (limited to 'deps/uv/src/unix/tty.c')
-rw-r--r-- | deps/uv/src/unix/tty.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/deps/uv/src/unix/tty.c b/deps/uv/src/unix/tty.c index 88ce52a24b..989c09d1bf 100644 --- a/deps/uv/src/unix/tty.c +++ b/deps/uv/src/unix/tty.c @@ -26,6 +26,7 @@ #include <unistd.h> #include <termios.h> #include <errno.h> +#include <sys/ioctl.h> int uv_tty_init(uv_loop_t* loop, uv_tty_t* tty, int fd) { @@ -69,11 +70,6 @@ fatal: } -int uv_is_tty(uv_file file) { - return isatty(file); -} - - int uv_tty_get_winsize(uv_tty_t* tty, int* width, int* height) { struct winsize ws; |