Merge pull request #131 from IsaacBrumby/unstable

Fixed compilation errors when compiling headless server
This commit is contained in:
djoslin0 2022-02-15 21:18:56 -08:00 committed by GitHub
commit e7cbe785d5
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,11 @@
#ifdef HAVE_SDL2
#include <SDL2/SDL.h>
#else
#else
#ifdef HAVE_SDL
#include <SDL/SDL.h>
#endif
#endif
#include "controller_bind_mapping.h"
#include "controller_api.h"

View File

@ -1,8 +1,8 @@
// Adapted from PeachyPeach's sm64pc-omm
#if defined(_WIN32)
#ifdef HAVE_SDL2
#include <SDL2/SDL.h>
#include <stdio.h>
#include <windows.h>
#include <dbghelp.h>
@ -492,3 +492,4 @@ __attribute__((constructor)) static void init_crash_handler() {
}
#endif
#endif