summaryrefslogtreecommitdiff
path: root/x11/kdebase4-runtime/files/patch-kioslave-fish-fish.cpp
blob: 6373fd0f35460ecbd5f067ca166155876a6c2e27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- kioslave/fish/fish.cpp.orig
+++ kioslave/fish/fish.cpp  
@@ -302,5 +302,5 @@
 void fishProtocol::openConnection() {
 static int open_pty_pair(int fd[2])
 {
-#if defined(HAVE_TERMIOS_H) && defined(HAVE_GRANTPT)
+#if defined(HAVE_TERMIOS_H) && defined(HAVE_GRANTPT) && !defined (HAVE_OPENPTY)
 /** with kind regards to The GNU C Library
 Reference Manual for Version 2.2.x of the GNU C Library */