forked from Lainports/freebsd-ports
Add a trivial patch to fix screen compiles on post-pmtx FreeBSD 7-current
systems. Approved by: maintainer timeout
This commit is contained in:
parent
4c2647bdd3
commit
495c3da815
1 changed files with 15 additions and 0 deletions
15
sysutils/screen/files/patch-pty.c
Normal file
15
sysutils/screen/files/patch-pty.c
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Reference in a new issue