summaryrefslogtreecommitdiff
path: root/sysutils/screen-legacy/files/patch-pty.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2014-04-30 04:16:24 +0000
committerCy Schubert <cy@FreeBSD.org>2014-04-30 04:16:24 +0000
commit0d968e414cf268a76174fe0ece60523f2cc77606 (patch)
tree6c79c46b3e2f9e9866097c7e2c427f219e890c68 /sysutils/screen-legacy/files/patch-pty.c
parentUpdate to 6.0.3 (diff)
Prepare for screen 4.2.1. Screen 4.0.3 becomes screen-legacy.
Notes
Notes: svn path=/head/; revision=352668
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>