2012-03-19 12:28:48 +01:00
|
|
|
$NetBSD: patch-ah,v 1.2 2012/03/19 11:28:49 markd Exp $
|
2009-10-02 21:18:56 +02:00
|
|
|
|
2012-03-19 12:28:48 +01:00
|
|
|
--- kpty/kptydevice.cpp.orig 2011-04-01 13:55:51.000000000 +0000
|
2009-10-02 21:18:56 +02:00
|
|
|
+++ kpty/kptydevice.cpp
|
2012-03-19 12:28:48 +01:00
|
|
|
@@ -44,7 +44,7 @@
|
2009-10-02 21:18:56 +02:00
|
|
|
# include <sys/time.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
-#if defined(Q_OS_FREEBSD) || defined(Q_OS_MAC)
|
|
|
|
+#if defined(Q_OS_FREEBSD) || defined(Q_OS_MAC) || defined(Q_OS_NETBSD)
|
|
|
|
// "the other end's output queue size" - kinda braindead, huh?
|
|
|
|
# define PTY_BYTES_AVAILABLE TIOCOUTQ
|
|
|
|
#elif defined(TIOCINQ)
|