Merge pull request #5485 from r-type/master

fix wiiu build
This commit is contained in:
Twinaphex 2017-09-29 03:09:12 +02:00 committed by GitHub
commit 5b96231f49

View File

@ -375,7 +375,7 @@ static void command_parse_sub_msg(command_t *handle, const char *tok)
msg_hash_to_str(MSG_RECEIVED));
}
#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORK_CMD)
#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORK_CMD) && defined(HAVE_COMMAND)
static bool command_network_init(command_t *handle, uint16_t port)
{
struct addrinfo *res = NULL;
@ -573,7 +573,7 @@ bool command_network_new(
if (!handle)
return false;
#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORK_CMD)
#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORK_CMD) && defined(HAVE_COMMAND)
handle->net_fd = -1;
if (network_enable && !command_network_init(handle, port))
goto error;