$NetBSD: patch-am,v 1.1 2008/09/05 05:27:31 dholland Exp $ --- tool/ifdef/ifdef.cxx~ 2005-05-06 04:49:09.000000000 -0400 +++ tool/ifdef/ifdef.cxx 2008-09-05 00:32:03.000000000 -0400 @@ -62,7 +62,7 @@ extern "C" { char *G__calc(char*); char *G__getexpr(char*); char *G__getandor(char*); -#if !defined(__hpux) && !defined(__APPLE__) +#if !defined(__hpux) && !defined(__APPLE__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) char getopt(int argc,char **argv,char *optlist); #endif extern int optind;