From d9c53b37615dede99fa40d90c3fb5655ebcfc000 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 11 Sep 2024 13:36:33 +0200 Subject: [PATCH] LyricsPage: declare `environ` on macOS Same as commit 525ed734040 --- src/LyricsPage.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/LyricsPage.cxx b/src/LyricsPage.cxx index c91fcabd..13792081 100644 --- a/src/LyricsPage.cxx +++ b/src/LyricsPage.cxx @@ -28,6 +28,10 @@ using std::string_view_literals::operator""sv; +#ifdef __APPLE__ +extern char **environ; +#endif + static struct mpd_song *next_song; static bool follow = false;