X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fstack%2Fsafestack.h;fp=crypto%2Fstack%2Fsafestack.h;h=5327cb89e8f01e77c24aa54a8b221db8518fea8b;hp=1a89e01252f609e4a87d06874fd75c01b65b00ff;hb=17e80c6bd05de7406a65116f34ed59665607d8d5;hpb=7b3e11c54466f1da8b707c932e308d345fd61101 diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index 1a89e01252..5327cb89e8 100644 --- a/crypto/stack/safestack.h +++ b/crypto/stack/safestack.h @@ -57,6 +57,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + #ifndef CHECKED_PTR_OF #define CHECKED_PTR_OF(type, p) \ ((void*) (1 ? p : (type*)0)) @@ -2798,4 +2802,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 */