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 - [PATCH] Remove dependency on libudev.h
Summary: [PATCH] Remove dependency on libudev.h
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: haptic (show other bugs)
Version: 2.0.10
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-30 11:56 UTC by tomwardio
Modified: 2019-08-30 11:57 UTC (History)
0 users

See Also:


Attachments
Patch to remove libudev header. (431 bytes, patch)
2019-08-30 11:56 UTC, tomwardio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.