From 547557d44319eb87d148750feeabe7554a494bfe Mon Sep 17 00:00:00 2001 From: not6 Date: Thu, 28 Sep 2017 23:35:07 +0200 Subject: [PATCH] fix wiiu build --- command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command.c b/command.c index df1145be11..410febaee2 100644 --- a/command.c +++ b/command.c @@ -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;