aboutsummaryrefslogtreecommitdiffstats
path: root/ex/ex_script.c
diff options
context:
space:
mode:
Diffstat (limited to 'ex/ex_script.c')
-rw-r--r--ex/ex_script.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ex/ex_script.c b/ex/ex_script.c
index 5ba8c028f81a..def590d86741 100644
--- a/ex/ex_script.c
+++ b/ex/ex_script.c
@@ -32,6 +32,8 @@
#include <unistd.h>
#ifdef HAVE_LIBUTIL_H
#include <libutil.h>
+#elif defined HAVE_PTY_H
+#include <pty.h>
#else
#include <util.h>
#endif