Skip to content

Commit

Permalink
LyricsPage: declare environ on macOS
Browse files Browse the repository at this point in the history
Same as commit 525ed73
  • Loading branch information
MaxKellermann committed Sep 11, 2024
1 parent 9822781 commit d9c53b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/LyricsPage.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d9c53b3

Please sign in to comment.