diff --git a/command.h b/command.h index 11079eef76..300c5c7dbe 100644 --- a/command.h +++ b/command.h @@ -36,7 +36,7 @@ void rarch_cmd_poll(rarch_cmd_t *handle); void rarch_cmd_set(rarch_cmd_t *handle, unsigned id); bool rarch_cmd_get(rarch_cmd_t *handle, unsigned id); -#ifdef HAVE_NETWORK_CMD +#if defined(HAVE_NETWORK_CMD) && defined(HAVE_NETPLAY) bool network_cmd_send(const char *cmd); #endif