$NetBSD: patch-ag,v 1.1 2011/11/26 17:16:36 marino Exp $

--- getopt.c.orig	1998-10-09 06:59:00.000000000 +0000
+++ getopt.c
@@ -40,6 +40,7 @@
 #endif
 
 #include <stdio.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
