13 lines
451 B
Text
13 lines
451 B
Text
$NetBSD: patch-ah,v 1.1.1.1 2009/10/02 19:19:00 markd Exp $
|
|
|
|
--- kpty/kptydevice.cpp.orig 2008-12-04 21:36:01.000000000 +1300
|
|
+++ kpty/kptydevice.cpp
|
|
@@ -42,7 +42,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)
|