| Summary: | [Patch] Fix SDL_hidapi.c compilation on Linux | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ethan Lee <flibitijibibo> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Patch to fix Linux SDL_hidapi compilation | ||
The breaking change was backed out by https://hg.libsdl.org/SDL/rev/fcb5afd26d62 |
Created attachment 4067 [details] Patch to fix Linux SDL_hidapi compilation The latest Hg revision breaks compilation for the OS hid and libusb hid hybrid wrapper. Now that linux/hid.c does the work of dynamically loading udev, we can simply remove it from SDL_hidapi.c. Attached is the patch that does exactly this.