diff --git a/include/linphone/im_encryption_engine.h b/include/linphone/im_encryption_engine.h index a65fac88e..9141c5361 100644 --- a/include/linphone/im_encryption_engine.h +++ b/include/linphone/im_encryption_engine.h @@ -22,6 +22,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "linphone/types.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * @addtogroup misc * @{ @@ -242,4 +246,8 @@ LINPHONE_PUBLIC void linphone_im_encryption_engine_cbs_set_generate_file_transfe * @} */ +#ifdef __cplusplus +} +#endif + #endif /* LINPHONE_IM_ENCRYPTION_ENGINE_H */