13 lines
447 B
Text
13 lines
447 B
Text
$NetBSD: patch-ah,v 1.2 2012/03/19 11:28:49 markd Exp $
|
|
|
|
--- kpty/kptydevice.cpp.orig 2011-04-01 13:55:51.000000000 +0000
|
|
+++ kpty/kptydevice.cpp
|
|
@@ -44,7 +44,7 @@
|
|
# 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)
|