$NetBSD: patch-ab,v 1.1 2004/02/23 14:45:57 ben Exp $ --- lconnect.c.orig 1999-11-22 16:07:32.000000000 -0800 +++ lconnect.c @@ -92,7 +92,7 @@ init_local_host() hinfo[LOCAL].hostname = local_host_name(); /* Get user name */ -#if defined(__sony_news) || defined(__MACHTEN__) +#if defined(__sony_news) || defined(__MACHTEN__) || defined(__NetBSD__) if((username = getenv("USER")) || (username = getlogin())) #else if((username = getenv("USER")) || (username = cuserid(NULL)))