$NetBSD: patch-bj,v 1.1 2006/05/15 15:33:00 christos Exp $ --- icb/getswitch.c.orig 1995-02-24 16:20:22.000000000 -0500 +++ icb/getswitch.c 2006-05-15 10:58:13.000000000 -0400 @@ -1,6 +1,8 @@ #include #include #include +#include +#include /* getswitch - parse multicharacter option arguments. */ @@ -43,7 +45,7 @@ if (thisswitch != retswitch) free(thisswitch); - thisswitch = (char *)malloc(strlen(*switchv)+1); + thisswitch = malloc(strlen(*switchv)+1); strcpy(thisswitch, *switchv); length = strlen(arg);