From f5269c919d9dc0a099f00e5453653fda6244e995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Mon, 27 Mar 2017 13:38:50 +0200 Subject: [PATCH] Add extern "C" block in im_encryption_engine.h --- include/linphone/im_encryption_engine.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 */