$OpenBSD: patch-getopt_getopt_c,v 1.1 2002/05/19 20:02:05 naddy Exp $
--- getopt/getopt.c.orig	Sun May 19 21:41:08 2002
+++ getopt/getopt.c	Sun May 19 21:41:26 2002
@@ -43,6 +43,7 @@ USA.  */
 #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
