Fixed a compile error on BSD Unix.

This commit is contained in:
Leon Styhre 2021-12-01 19:10:17 +01:00
parent 3516ee7a26
commit 0fdd169835

View file

@ -12,12 +12,7 @@
#define ES_CORE_INPUT_MANAGER_H #define ES_CORE_INPUT_MANAGER_H
#include <SDL2/SDL.h> #include <SDL2/SDL.h>
#if defined(__linux__) || defined(_WIN64) || defined(__APPLE__)
#include <SDL2/SDL_joystick.h> #include <SDL2/SDL_joystick.h>
#else
#include "SDL_joystick.h"
#endif
#include <map> #include <map>
#include <memory> #include <memory>