From 2be5ffe4e999757ba89a87b0012d1441ec78af77 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 14 Feb 2020 14:31:02 +0100 Subject: [PATCH] Improve ifdef - should be compiled in only if HAVE_OZONE is defined --- runtime_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime_file.c b/runtime_file.c index d6af1644f5..f6610fa9fa 100644 --- a/runtime_file.c +++ b/runtime_file.c @@ -1013,7 +1013,7 @@ void runtime_update_playlist(playlist_t *playlist, size_t idx) free(runtime_log); } -#ifdef HAVE_MENU +#if defined(HAVE_MENU) && defined(HAVE_OZONE) /* Ozone requires runtime/last played strings to be * populated even when no runtime is recorded */ if (string_is_equal(settings->arrays.menu_driver, "ozone"))