diff --git a/retroarch.c b/retroarch.c index c0853cfb56..583e928de2 100644 --- a/retroarch.c +++ b/retroarch.c @@ -8630,7 +8630,9 @@ bool command_event(enum event_command cmd, void *data) bool history_list_enable = settings->bools.history_list_enable; const char *path_content_history = settings->paths.path_content_history; const char *path_content_music_history = settings->paths.path_content_music_history; +#if defined(HAVE_FFMPEG) || defined(HAVE_MPV) const char *path_content_video_history = settings->paths.path_content_video_history; +#endif const char *path_content_image_history = settings->paths.path_content_image_history; command_event(CMD_EVENT_HISTORY_DEINIT, NULL);