diff --git a/orte/mca/oob/tcp/oob_tcp_component.c b/orte/mca/oob/tcp/oob_tcp_component.c index fefd94ac4a..ec7f44b7c6 100644 --- a/orte/mca/oob/tcp/oob_tcp_component.c +++ b/orte/mca/oob/tcp/oob_tcp_component.c @@ -90,7 +90,10 @@ static char* component_get_addr(void); static int component_set_addr(orte_process_name_t *peer, char **uris); static bool component_is_reachable(orte_process_name_t *peer); +#if OPAL_ENABLE_FT_CR == 1 static int component_ft_event(int state); +#endif + /* * Struct of function pointers and all that to let us be initialized */ @@ -119,8 +122,11 @@ mca_oob_tcp_component_t mca_oob_tcp_component = { component_send, component_get_addr, component_set_addr, - component_is_reachable, + component_is_reachable +#if OPAL_ENABLE_FT_CR == 1 + , component_ft_event +#endif }, }; @@ -1080,6 +1086,7 @@ static bool component_is_reachable(orte_process_name_t *peer) return true; } +#if OPAL_ENABLE_FT_CR == 1 static int component_ft_event(int state) { mca_oob_tcp_module_t *mod; @@ -1099,6 +1106,7 @@ static int component_ft_event(int state) return ORTE_SUCCESS; } +#endif /* * Create a module instance and add to modules array.