$NetBSD: patch-ac,v 1.5 2025/04/21 21:17:01 wiz 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__) && !defined(__APPLE__) && !defined(__DragonFly__)
 extern int getopt (int argc, char **argv, const char *optstring);
 #endif
 extern int optind;
