blob: ee1d596a03c338bcd11b6f15eda0c26698627477 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
https://bugs.gentoo.org/692230
https://github.com/masneyb/gftp/commit/371c494a34c1820544d6563fb7ef5ca51a0ee199
From 371c494a34c1820544d6563fb7ef5ca51a0ee199 Mon Sep 17 00:00:00 2001
From: Brian Masney <masneyb@onstation.org>
Date: Thu, 21 Jul 2016 05:05:18 -0400
Subject: [PATCH] fixed compiling on some versions of Linux. Patch picked up
from the Fedora Project at
https://github.com/repoforge/rpms/blob/master/specs/gftp/gftp-stropts.patch
---
lib/pty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pty.c b/lib/pty.c
index f7cb1f9..f9d609b 100644
--- a/lib/pty.c
+++ b/lib/pty.c
@@ -61,7 +61,7 @@ _gftp_ptys_open (int fdm, int fds, char *pts_name)
#elif HAVE_GRANTPT
-#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__))
+#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__linux__))
#include <stropts.h>
#endif
|