summaryrefslogtreecommitdiff
path: root/sysutils/screen-legacy/files/patch-pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/screen-legacy/files/patch-pty.c')
-rw-r--r--sysutils/screen-legacy/files/patch-pty.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/screen-legacy/files/patch-pty.c b/sysutils/screen-legacy/files/patch-pty.c
new file mode 100644
index 000000000000..352a37e704b5
--- /dev/null
+++ b/sysutils/screen-legacy/files/patch-pty.c
@@ -0,0 +1,15 @@
+--- pty.c.orig Mon Feb 6 18:54:37 2006
++++ pty.c Mon Feb 6 18:56:50 2006
+@@ -33,10 +33,12 @@
+ # include <sys/ioctl.h>
+ #endif
+
++#ifndef __FreeBSD__
+ /* for solaris 2.1, Unixware (SVR4.2) and possibly others */
+ #ifdef HAVE_SVR4_PTYS
+ # include <sys/stropts.h>
+ #endif
++#endif
+
+ #if defined(sun) && defined(LOCKPTY) && !defined(TIOCEXCL)
+ # include <sys/ttold.h>