From 45514e60a74e9710f33282eb8c0f441547b80255 Mon Sep 17 00:00:00 2001 From: radius Date: Sun, 22 Jan 2017 17:57:49 -0500 Subject: [PATCH] console build fix --- menu/drivers/xmb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 932192fedf..d61166f0b2 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -1484,8 +1484,10 @@ static xmb_node_t* xmb_get_node(xmb_handle_t *xmb, unsigned i) return &xmb->history_tab_node; case XMB_SYSTEM_TAB_ADD: return &xmb->add_tab_node; +#ifdef HAVE_NETWORKING case XMB_SYSTEM_TAB_NETPLAY: return &xmb->netplay_tab_node; +#endif default: if (i > xmb->system_tab_end) return xmb_get_userdata_from_horizontal_list( @@ -3817,12 +3819,14 @@ static void xmb_list_cache(void *data, enum menu_list_type type, unsigned action menu_stack->list[stack_size - 1].type = MENU_ADD_TAB; break; +#ifdef HAVE_NETWORKING case XMB_SYSTEM_TAB_NETPLAY: menu_stack->list[stack_size - 1].label = strdup(msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY_TAB)); menu_stack->list[stack_size - 1].type = MENU_NETPLAY_TAB; break; +#endif default: menu_stack->list[stack_size - 1].label = strdup(msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU));