diff options
author | Brian White <mscdex@mscdex.net> | 2010-12-03 07:40:26 -0500 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-12-03 09:29:48 -0800 |
commit | e4bca198431acb420a44ea3a5dc1eaa5517159d4 (patch) | |
tree | 756d71ae3221f23bdc5dfacfe0be47944b25fa55 /src/node_stdio.cc | |
parent | a0e9a510b049b8593855f4be8e7b02d841b66de8 (diff) | |
download | node-e4bca198431acb420a44ea3a5dc1eaa5517159d4.tar.gz |
Fix tty changes for OSX
Diffstat (limited to 'src/node_stdio.cc')
-rw-r--r-- | src/node_stdio.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_stdio.cc b/src/node_stdio.cc index b4e13c898..c649b8ffe 100644 --- a/src/node_stdio.cc +++ b/src/node_stdio.cc @@ -5,7 +5,11 @@ #include <fcntl.h> #include <string.h> #include <errno.h> +#ifdef __APPLE__ +#include <util.h> +#else #include <pty.h> +#endif #include <termios.h> #include <sys/ioctl.h> |