$NetBSD: patch-ak,v 1.3 2016/03/13 09:06:01 dholland Exp $ - Use standard headers - Don't use nonexistent/nonstandard curses interfaces. --- netconsole/setup_display.c.orig 1994-11-29 20:41:10.000000000 +0000 +++ netconsole/setup_display.c @@ -31,6 +31,8 @@ * * */ +#include +#include #include "netconsole.h" setup_display() @@ -45,8 +47,8 @@ setup_display() { endwin (); fprintf (stderr, - "%s: Terminal ('%s') too small (need %d cols, have %d)\n\n", - prognm, ttytype, MNCOLS, COLS); + "%s: Terminal too small (need %d cols, have %d)\n\n", + prognm, MNCOLS, COLS); exit (1); }