We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4777

Summary: [PATCH] Remove dependency on libudev.h
Product: SDL Reporter: tomwardio
Component: hapticAssignee: Ryan C. Gordon <icculus>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.10   
Hardware: x86_64   
OS: Linux   
Attachments: Patch to remove libudev header.

Description tomwardio 2019-08-30 11:56:48 UTC
Created attachment 3936 [details]
Patch to remove libudev header.

Proposed patch to remove need to #include <libudev.h>, which was only needed for 3 struct forward declarations.

This mostly removes the need to have libudev installed to enable support, though there's still some configuration required to determine the SDL_UDEV_DYNAMIC define.