Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save npepinpe/4445589 to your computer and use it in GitHub Desktop.
Save npepinpe/4445589 to your computer and use it in GitHub Desktop.
Fixes improper inclusion of SDL_main.
diff --git a/source/mupen64plus-ui-console/src/main.c b/source/mupen64plus-ui-console/src/main.c
index 0568deb..c84def2 100644
--- a/source/mupen64plus-ui-console/src/main.c
+++ b/source/mupen64plus-ui-console/src/main.c
@@ -31,7 +31,7 @@
// The mac version of SDL requires inclusion of SDL_main in the executable
#ifdef __APPLE__
-#include <SDL/SDL_main.h>
+#include <SDL_main.h>
#endif
#include "cheat.h"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment