illiliti / libudev-zero

Daemonless replacement for libudev
ISC License
202 stars 22 forks source link

Fix undefined LINE_MAX on Android #54

Closed awakecoding closed 2 years ago

awakecoding commented 2 years ago

I'm working on building libfido2 for different platforms, and while I have no idea if it's going to work on Android, I'm giving libudev-zero a try. The only compilation issue I faced was LINE_MAX being undefined, so I just added an ifndef for it, and use 2048 which is the value I have on Linux.

illiliti commented 2 years ago

Merged, thanks.