diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-11-18 05:04:42 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-11-18 05:04:42 +0000 |
commit | b91fbb9359c40ba617276a21a86b8809f9df07f0 (patch) | |
tree | ac44598ef87c1cb3fc31ea195f696e0e13043a57 /perl.h | |
parent | a678b0e43642b70fc74cc90fbae9fc1913934001 (diff) | |
download | perl-b91fbb9359c40ba617276a21a86b8809f9df07f0.tar.gz |
Tweaks needed to get Perl compiling with g++ on OpenBSD.
p4raw-id: //depot/perl@29313
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1180,6 +1180,10 @@ EXTERN_C char *crypt(const char *, const char *); EXTERN_C char **environ; #endif +#if defined(__OpenBSD__) && defined(__cplusplus) +EXTERN_C char **environ; +#endif + #if defined(__CYGWIN__) && defined(__cplusplus) EXTERN_C char *crypt(const char *, const char *); #endif |