From d4794028bb3d28fd7a828e668c9a201db294ce26 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 22 Jan 2021 08:45:38 -0800 Subject: [PATCH] Fixed build --- src/hidapi/SDL_hidapi.c | 3 ++- src/hidapi/SDL_hidapi.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hidapi/SDL_hidapi.c b/src/hidapi/SDL_hidapi.c index 4cffde0d4..d8a330728 100644 --- a/src/hidapi/SDL_hidapi.c +++ b/src/hidapi/SDL_hidapi.c @@ -27,9 +27,10 @@ * This merges the two, at a small performance cost, until distributions * have granted access to /dev/hidraw* */ - #include "../SDL_internal.h" + #include "SDL_loadso.h" +#include "SDL_hidapi.h" #ifdef SDL_JOYSTICK_HIDAPI diff --git a/src/hidapi/SDL_hidapi.h b/src/hidapi/SDL_hidapi.h index 743539099..148352041 100644 --- a/src/hidapi/SDL_hidapi.h +++ b/src/hidapi/SDL_hidapi.h @@ -18,6 +18,7 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ +#include "../SDL_internal.h" #ifdef SDL_JOYSTICK_HIDAPI