Commit c302c1abb8f59ed8d06316c78a7884fd6ce26da7

Sam Lantinga 2020-04-13T13:24:19

Fixed build

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/windows/SDL_rawinputjoystick.c b/src/joystick/windows/SDL_rawinputjoystick.c
index a521a0f..f17e852 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;