summaryrefslogtreecommitdiff
path: root/net/gftp/patches/patch-ab
blob: 841557051820e91e2c6a26650808fb3e2fe410fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.6 2005/09/04 20:00:09 tonio Exp $

--- lib/pty.c.orig	2005-01-04 14:32:11.000000000 +0100
+++ lib/pty.c
@@ -61,7 +61,7 @@ _gftp_ptys_open (int fdm, int fds, char 
 
 #elif HAVE_GRANTPT
 
-#ifndef __FreeBSD__
+#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__))
 #include <stropts.h>
 #endif