summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-11-18 05:04:42 +0000
committerSteve Peters <steve@fisharerojo.org>2006-11-18 05:04:42 +0000
commitb91fbb9359c40ba617276a21a86b8809f9df07f0 (patch)
treeac44598ef87c1cb3fc31ea195f696e0e13043a57 /perl.h
parenta678b0e43642b70fc74cc90fbae9fc1913934001 (diff)
downloadperl-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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 5fa0da3f3e..e7c0c5abe7 100644
--- a/perl.h
+++ b/perl.h
@@ -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