diff options
Diffstat (limited to 'ext/pty/pty.c')
-rw-r--r-- | ext/pty/pty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c index 0d3ba7f060..6462c3c7ca 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -19,6 +19,10 @@ #include <sys/stropts.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + #define DEVICELEN 16 #if !defined(HAVE_OPENPTY) |