Browse Source

Fixed build

Sam Lantinga 5 years ago
parent
commit
c302c1abb8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/joystick/windows/SDL_rawinputjoystick.c

+ 1 - 0
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;