diff options
| author | Nikolas <[email protected]> | 2022-01-22 17:25:53 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-22 17:25:53 +0100 |
| commit | 5b8b24c0c53288a94bfce7cc6e7eb21a9eee3f4a (patch) | |
| tree | 3b0c1ca8fbd7c0a77f192543263cf304ee548bf5 /src | |
| parent | 45ef46c5e809e4dbfb2dfe2530350f05db7641b8 (diff) | |
| download | raylib-5b8b24c0c53288a94bfce7cc6e7eb21a9eee3f4a.tar.gz raylib-5b8b24c0c53288a94bfce7cc6e7eb21a9eee3f4a.zip | |
Fix GetApplicationDirectory on macOS (#2304)
Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rcore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rcore.c b/src/rcore.c index eed63667..70cc350b 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -173,6 +173,7 @@ #include <unistd.h> #elif defined(__APPLE__) #include <sys/syslimits.h> + #include <mach-o/dyld.h> #endif // OSs #endif // PLATFORM_DESKTOP |
