diff --git a/port/wiced/btstack_run_loop_wiced.h b/port/wiced/btstack_run_loop_wiced.h index 719d3ff65..ae44fbdc2 100644 --- a/port/wiced/btstack_run_loop_wiced.h +++ b/port/wiced/btstack_run_loop_wiced.h @@ -48,6 +48,10 @@ #include "btstack_run_loop.h" #include "wiced.h" +#if defined __cplusplus +extern "C" { +#endif + /** * @brief Provide btstack_run_loop_posix instance for use with btstack_run_loop_init */