$NetBSD: patch-bn,v 1.1 2006/05/15 15:33:00 christos Exp $

--- icb/s_chpw.c.orig	1995-02-24 16:20:27.000000000 -0500
+++ icb/s_chpw.c	2006-05-15 11:00:08.000000000 -0400
@@ -6,6 +6,8 @@
 
 #include "icb.h"
 #include "externs.h"
+#include <stdlib.h>
+#include <unistd.h>
 
 s_chpw(TARGLIST)
 TARGDEFS
@@ -21,7 +23,7 @@
 	if (argc > 1 && argv[1][0])
 		strcpy(old, argv[1]);
 	else
-		strcpy(old, (char *) getpass ("Enter old password:"));
+		strcpy(old, getpass ("Enter old password:"));
 
 	if (argc > 2)
 		strcpy(new1, argv[2]);
