diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-09-30 11:22:38 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-09-30 13:12:12 -0700 |
commit | d1e6a1317958ac3bcc252609d799aee11c50ca85 (patch) | |
tree | dd9225148b3b7a4615004f230ffcd53290d6d6d2 /deps/uv/include/uv-private/uv-unix.h | |
parent | 49806864e489dd73bdda56ec66a1c8a9450fa4a7 (diff) | |
download | node-new-d1e6a1317958ac3bcc252609d799aee11c50ca85.tar.gz |
Upgrade libuv to fe18438
Diffstat (limited to 'deps/uv/include/uv-private/uv-unix.h')
-rw-r--r-- | deps/uv/include/uv-private/uv-unix.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/uv/include/uv-private/uv-unix.h b/deps/uv/include/uv-private/uv-unix.h index 5fa132872d..be2abcd94a 100644 --- a/deps/uv/include/uv-private/uv-unix.h +++ b/deps/uv/include/uv-private/uv-unix.h @@ -33,10 +33,11 @@ #include <sys/types.h> #include <sys/socket.h> -#include <netdb.h> #include <netinet/in.h> #include <netinet/tcp.h> - +#include <arpa/inet.h> +#include <netdb.h> +#include <termios.h> /* Note: May be cast to struct iovec. See writev(2). */ typedef struct { @@ -183,6 +184,8 @@ typedef int uv_file; #define UV_WORK_PRIVATE_FIELDS \ eio_req* eio; -#define UV_TTY_PRIVATE_FIELDS /* empty */ +#define UV_TTY_PRIVATE_FIELDS \ + struct termios orig_termios; \ + int mode; #endif /* UV_UNIX_H */ |