MSYS2-packages/expect/5.45-openpty.patch
Ray Donnelly d3cf7242da expect: New package
Added in support of dejagnu.
2015-07-04 01:52:51 +01:00

14 lines
342 B
Diff

--- origsrc/expect5.45/pty_termios.c 2010-08-27 16:51:53.000000000 -0500
+++ src/expect5.45/pty_termios.c 2013-03-18 15:34:39.233085300 -0500
@@ -77,6 +77,10 @@ with openpty which supports 4000 while p
#include <sys/sysmacros.h>
#endif
+#ifdef HAVE_OPENPTY
+#include <pty.h>
+#endif
+
#ifdef HAVE_PTYTRAP
#include <sys/ptyio.h>
#endif