$NetBSD: patch-ah,v 1.2 2001/04/23 17:33:06 wulf Exp $ --- sim/ucsim/cmd.src/newcmd.cc.orig Mon Apr 9 20:34:53 2001 +++ sim/ucsim/cmd.src/newcmd.cc Mon Apr 9 20:36:08 2001 @@ -840,7 +840,11 @@ cl_listen_console::proc_input(void) { int newsock; +#if defined(__FreeBSD__) || defined(__NetBSD__) + socklen_t size; +#else ACCEPT_SOCKLEN_T size; +#endif struct sockaddr_in sock_addr; size= sizeof(struct sockaddr);