From: Steve Peters Date: Thu, 5 Apr 2007 16:32:19 +0000 (+0000) Subject: g++ on NetBSD needs to have environ declared as well. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=944c4fdaac207ce2839ee03a49666f3fe72b9802;p=p5sagit%2Fp5-mst-13.2.git g++ on NetBSD needs to have environ declared as well. p4raw-id: //depot/perl@30848 --- diff --git a/perl.h b/perl.h index 0cff283..d7d4f64 100644 --- a/perl.h +++ b/perl.h @@ -1201,7 +1201,7 @@ EXTERN_C char **environ; #endif #if defined(__cplusplus) -# if defined(__OpenBSD__) || defined(__FreeBSD__) +# if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) EXTERN_C char **environ; # elif defined(__CYGWIN__) EXTERN_C char *crypt(const char *, const char *);