summaryrefslogtreecommitdiff
path: root/sysutils/pcvt-utils/patches/patch-ad
blob: 1c6f71e32562f64efc20c6c2f86190f4e558ba69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ad,v 1.2 2002/05/11 20:25:05 wiz Exp $

--- fed/fed.h.orig	Sat Oct  7 22:44:48 1995
+++ fed/fed.h
@@ -32,7 +32,11 @@
  * 	fed.h, 3.00, last edit-date: [Sun Jan  2 20:10:31 1994]
  */
 
+#ifdef __NetBSD__
+#include <curses.h>
+#else
 #include <ncurses.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
@@ -109,7 +113,7 @@
 void setchr ( char type );
 void setrow ( char type );
 void setcol ( char type );
-void main ( int argc, char *argv[] );
+int main ( int argc, char *argv[] );
 void readfont ( char *filename );
 void dis_cmd ( char *strg );
 void clr_cmd ( void );