Skip to content

Commit e4bca19

Browse files
mscdexry
authored andcommitted
Fix tty changes for OSX
1 parent a0e9a51 commit e4bca19

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/node_stdio.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
#include <fcntl.h>
66
#include <string.h>
77
#include <errno.h>
8+
#ifdef __APPLE__
9+
#include <util.h>
10+
#else
811
#include <pty.h>
12+
#endif
913

1014
#include <termios.h>
1115
#include <sys/ioctl.h>

0 commit comments

Comments
 (0)