$NetBSD: patch-ae,v 1.4 2002/10/16 00:21:22 dmcmahill Exp $

--- getopt.c.orig	Tue Jan 25 02:42:51 2000
+++ getopt.c
@@ -79,9 +79,13 @@
 # endif
 #endif
 
+#ifdef HAVE_GETTEXT
+#include <libintl.h>
+#else
 /* This is for other GNU distributions with internationalized messages.
    When compiling libc, the _ macro is predefined.  */
 #include "gettext.h"
+#endif
 #define _(msgid)    gettext (msgid)
 
 
