$NetBSD: patch-ac,v 1.7 2001/06/19 15:53:11 jlam Exp $

--- dialog.h.orig	Fri Aug 18 07:35:06 1995
+++ dialog.h
@@ -28,7 +28,7 @@
 #ifdef ultrix
 #include <cursesX.h>
 #else
-#include <curses.h>
+#include <ncurses.h>
 #endif
 
 /*
@@ -42,6 +42,7 @@
 #define TAB 9
 #define MAX_LEN 2048
 #define BUF_SIZE (10*1024)
+#define MIN_DIALOG_WIDTH 24
 #define MIN(x,y) (x < y ? x : y)
 #define MAX(x,y) (x > y ? x : y)
 
@@ -151,6 +152,9 @@
 void draw_shadow (WINDOW * win, int y, int x, int height, int width);
 #endif
 
+int strheight (const char *p);
+int strwidth (const char *p);
+
 int dialog_yesno (const char *title, const char *prompt, int height, int width);
 int dialog_msgbox (const char *title, const char *prompt, int height,
 		int width, int pause);
@@ -196,6 +200,7 @@
 extern __inline__ int
 mouse_wgetch (WINDOW * win)
 {
+return 0;
 };
 
 #define mouse_wgetch(w) wgetch(w)
