From 495c3da815707f35caaa59d2d7a6e341fe7b2425 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Fri, 10 Feb 2006 02:25:56 +0000 Subject: Add a trivial patch to fix screen compiles on post-pmtx FreeBSD 7-current systems. Approved by: maintainer timeout --- sysutils/screen/files/patch-pty.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sysutils/screen/files/patch-pty.c (limited to 'sysutils/screen') diff --git a/sysutils/screen/files/patch-pty.c b/sysutils/screen/files/patch-pty.c new file mode 100644 index 000000000000..352a37e704b5 --- /dev/null +++ b/sysutils/screen/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 + #endif + ++#ifndef __FreeBSD__ + /* for solaris 2.1, Unixware (SVR4.2) and possibly others */ + #ifdef HAVE_SVR4_PTYS + # include + #endif ++#endif + + #if defined(sun) && defined(LOCKPTY) && !defined(TIOCEXCL) + # include -- cgit v1.2.3