From c302c1abb8f59ed8d06316c78a7884fd6ce26da7 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 13 Apr 2020 13:24:19 -0700 Subject: [PATCH] Fixed build --- src/joystick/windows/SDL_rawinputjoystick.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/joystick/windows/SDL_rawinputjoystick.c b/src/joystick/windows/SDL_rawinputjoystick.c index a521a0fcc..f17e8526a 100644 --- a/src/joystick/windows/SDL_rawinputjoystick.c +++ b/src/joystick/windows/SDL_rawinputjoystick.c @@ -95,6 +95,7 @@ static void RAWINPUT_JoystickClose(SDL_Joystick * joystick); typedef struct _SDL_RAWINPUT_Device { + SDL_atomic_t refcount; char *name; Uint16 vendor_id; Uint16 product_id;