$NetBSD: patch-ac,v 1.1 2004/02/26 07:47:48 uebayasi Exp $

--- main.c~	Tue May 30 06:13:50 1995
+++ main.c	Thu Apr 10 09:20:49 1997
@@ -9,7 +9,7 @@
 Boolean gcinfo		= FALSE;	/* -I */
 #endif
 
-#if !HPUX && !defined(linux)
+#if !HPUX && !defined(linux) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
 extern int getopt (int argc, char **argv, const char *optstring);
 #endif
 extern int optind;
