$NetBSD: patch-ab,v 1.3 2001/02/22 03:00:15 tv Exp $

--- src/common/getopt.c.orig	Wed Feb 21 17:27:48 2001
+++ src/common/getopt.c	Wed Feb 21 17:29:26 2001
@@ -73,6 +73,7 @@
 #include <stdlib.h>
 #else	/* Not GNU C library.  */
 #define	__alloca	alloca
+#include <stdlib.h>
 #endif	/* GNU C library.  */
 
 /* If GETOPT_COMPAT is defined, `+' as well as `--' can introduce a
