$NetBSD: patch-ab,v 1.4 2002/07/06 20:15:52 tv Exp $ --- src/common/getopt.c.orig Wed Apr 17 14:17:39 1996 +++ src/common/getopt.c Sat Jul 6 15:28:30 2002 @@ -73,6 +73,7 @@ #include #else /* Not GNU C library. */ #define __alloca alloca +#include #endif /* GNU C library. */ /* If GETOPT_COMPAT is defined, `+' as well as `--' can introduce a @@ -444,7 +445,7 @@ int exact = 0; int ambig = 0; const struct option *pfound = NULL; - int indfound; + int indfound = 0; while (*s && *s != '=') s++;