$NetBSD: patch-al,v 1.1 1999/11/01 10:23:45 sakamoto Exp $

--- ./uip/vmh.c.orig	Tue Feb  9 20:30:00 1999
+++ ./uip/vmh.c	Mon Nov  1 19:13:30 1999
@@ -24,4 +24,7 @@
  */
 
+#ifdef	UNISTD
+#include <unistd.h>
+#endif
 #ifdef __osf__
 #define _BSD
@@ -88,5 +91,9 @@
 void     __cputchar __P((int));
 #undef	_putchar
+#ifdef	BSD44
+#define	_putchar	__cputchar
+#else
 #define	_putchar	(int (*)()) __cputchar
+#endif
 #include <sys/ioctl.h>		/* sgttyb */
 #endif /* !__NCURSES_H && (BSD44 || linux) */
@@ -1510,5 +1517,5 @@
     TYPESIG     (*tstat) ();
 
-    if ((pgrp = getpgrp (0)) == NOTOK)
+    if ((pgrp = getpgrp (/*0*/)) == NOTOK)
 	adios ("process group", "unable to determine");
     for (;;) {
