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

--- tty.c.orig	Sun Mar 30 22:57:59 2003
+++ 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