$NetBSD: patch-ac,v 1.3 2003/11/11 10:17:39 wiz Exp $

--- tty.c.orig	2003-03-30 20:57:59.000000000 +0000
+++ tty.c
@@ -93,7 +93,12 @@ struct sgttyb oldsb, newsb;
 #endif
 struct termio oldsb, newsb;
 #else
+#ifdef NETBSD
+  #include <sys/termios.h>
+  #define NCC NCCS
+#else
 #include <termios.h>
+#endif
 struct termios oldsb, newsb;
 #endif
 
