diff --git a/orte/mca/rmaps/rmaps.h b/orte/mca/rmaps/rmaps.h index 22869437fb..e15ed217a9 100644 --- a/orte/mca/rmaps/rmaps.h +++ b/orte/mca/rmaps/rmaps.h @@ -49,6 +49,10 @@ #include "orte/mca/rmaps/rmaps_types.h" +#if defined(c_plusplus) || defined(__cplusplus) +extern "C" { +#endif + /* * rmaps module functions */ @@ -135,5 +139,8 @@ typedef orte_rmaps_base_component_1_3_0_t orte_rmaps_base_component_t; /* global structure for accessing RMAPS modules */ ORTE_DECLSPEC extern orte_rmaps_base_module_t orte_rmaps; +#if defined(c_plusplus) || defined(__cplusplus) +} #endif +#endif \ No newline at end of file