summaryrefslogtreecommitdiff
path: root/ics-openvpn-stripped/main/openssl/crypto/stack/safestack.h
diff options
context:
space:
mode:
Diffstat (limited to 'ics-openvpn-stripped/main/openssl/crypto/stack/safestack.h')
-rw-r--r--ics-openvpn-stripped/main/openssl/crypto/stack/safestack.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ics-openvpn-stripped/main/openssl/crypto/stack/safestack.h b/ics-openvpn-stripped/main/openssl/crypto/stack/safestack.h
index ea3aa0d8..bc194cb2 100644
--- a/ics-openvpn-stripped/main/openssl/crypto/stack/safestack.h
+++ b/ics-openvpn-stripped/main/openssl/crypto/stack/safestack.h
@@ -57,6 +57,10 @@
#include <openssl/stack.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef CHECKED_PTR_OF
#define CHECKED_PTR_OF(type, p) \
((void*) (1 ? p : (type*)0))
@@ -2660,4 +2664,8 @@ DECLARE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
#define lh_SSL_SESSION_free(lh) LHM_lh_free(SSL_SESSION,lh)
/* End of util/mkstack.pl block, you may now edit :-) */
+
+#ifdef __cplusplus
+}
+#endif
#endif /* !defined HEADER_SAFESTACK_H */