$NetBSD: patch-aa,v 1.1.1.1 2004/12/26 15:55:39 wiz Exp $

--- getopt.c.orig	2003-01-23 21:51:24.000000000 +0100
+++ getopt.c
@@ -42,6 +42,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <ctype.h>
+#include <locale.h>
 
 #if LIBCGETOPT
 #include <getopt.h>
