summaryrefslogtreecommitdiff
path: root/lang/squeak3/files/patch-openpty-h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/squeak3/files/patch-openpty-h')
-rw-r--r--lang/squeak3/files/patch-openpty-h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/squeak3/files/patch-openpty-h b/lang/squeak3/files/patch-openpty-h
new file mode 100644
index 000000000000..c63044a4b7db
--- /dev/null
+++ b/lang/squeak3/files/patch-openpty-h
@@ -0,0 +1,14 @@
+--- platforms/unix/plugins/PseudoTTYPlugin/openpty.h.orig Tue Sep 10 13:38:07 2002
++++ platforms/unix/plugins/PseudoTTYPlugin/openpty.h Tue Sep 10 13:38:52 2002
+@@ -43,7 +43,10 @@
+ # elif defined(HAVE_UTIL_H)
+ # include <util.h> /* openpty() */
+ # else
+-# error: cannot find headers for openpty()
++# include <sys/types.h>
++# include <sys/ioctl.h>
++# include <termios.h>
++# include <libutil.h>
+ # endif
+
+ #else /* !HAVE_OPENPTY */