$NetBSD: patch-ac,v 1.1 2002/01/21 22:27:10 markd Exp $

--- kdbg/ttywnd.cpp.orig	Mon Jan 22 03:01:20 2001
+++ kdbg/ttywnd.cpp
@@ -32,6 +32,9 @@
 #ifdef HAVE_LIBUTIL_H
 #include <libutil.h>			/* openpty on FreeBSD */
 #endif
+#ifdef __NetBSD__
+#include <util.h>			/* openpty on NetBSD */
+#endif
 #include <errno.h>
 
 #include "mydebug.h"
