Skip to content

Commit

Permalink
#include mach-o/dyld.h when on macOS for _NSGetExecutablePath (#2551)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliceisjustplaying committed May 1, 2024
1 parent faf5dd0 commit a3823b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/studio/screens/start.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
#include <unistd.h>
#endif

#if defined (__TIC_MACOSX__)
#include <mach-o/dyld.h>
#endif

static void reset(Start* start)
{
u8* tile = (u8*)start->tic->ram->tiles.data;
Expand Down

0 comments on commit a3823b3

Please sign in to comment.