File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 2626// This is the system specific header for the SDL joystick API
2727#include "SDL_joystick_c.h"
2828
29+ #include <stdlib.h>
30+
2931// Set up for C function definitions, even when using C++
3032#ifdef __cplusplus
3133extern "C" {
Original file line number Diff line number Diff line change 1+ diff --git a/thirdparty/sdl/joystick/SDL_sysjoystick.h b/thirdparty/sdl/joystick/SDL_sysjoystick.h
2+ index 041ebc3b50..9b6ea65e9c 100644
3+ --- a/thirdparty/sdl/joystick/SDL_sysjoystick.h
4+ +++ b/thirdparty/sdl/joystick/SDL_sysjoystick.h
5+ @@ -26,6 +26,8 @@
6+ // This is the system specific header for the SDL joystick API
7+ #include "SDL_joystick_c.h"
8+
9+ + #include <stdlib.h>
10+ +
11+ // Set up for C function definitions, even when using C++
12+ #ifdef __cplusplus
13+ extern "C" {
You can’t perform that action at this time.
0 commit comments