-
-
Save Gottox/ba7731200229425d2cbcd5c8fb4fe213 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/pty.cpp b/src/pty.cpp | |
index 68afa01..9f30eb8 100644 | |
--- a/src/pty.cpp | |
+++ b/src/pty.cpp | |
@@ -6,6 +6,7 @@ | |
# include <termios.h> | |
#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) | |
# include <sys/ioctl.h> | |
+# include <unistd.h> | |
/* | |
* from pty.js: | |
* From node v0.10.28 (at least?) there is also a "util.h" in node/src, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment