$NetBSD: patch-ad,v 1.5 2005/11/03 22:09:28 rillig Exp $

--- sources/getopt.c.orig	Sat Jun 21 15:31:51 2003
+++ sources/getopt.c
@@ -56,6 +56,8 @@ void Eprintf(const char *, ...);
 #endif
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 /* Comment out all this code if we are using the GNU C Library, and are not
    actually compiling the library itself.  This code is part of the GNU C
