Skip to content

Commit 47a3dda

Browse files
committed
Linux fix for sdl_gamecontroller header
1 parent 6fd88fc commit 47a3dda

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/parsec/isdl_joy.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@
3333
#include "debug.h"
3434

3535
//SDL Gamepad
36-
#include <SDL_gamecontroller.h>
36+
#ifdef SYSTEM_TARGET_LINUX
37+
#include <SDL2/SDL_gamecontroller.h>
38+
#else
39+
#include <SDL_gamecontroller.h>
40+
#endif
3741

3842
// general definitions
3943
#include "general.h"

0 commit comments

Comments
 (0)