Created attachment 121121 [details] 0001-Fix-building-on-musl-libc.patch libdrm git master fails to compile due to undefined functions/constants on musl libc. The attached patch fixes it.
Hi Kylie, can you please send this to the dri-devel ML for review. I'm afraid that not many people search through bugzilla for patches. But before that please take a look at my comment [1] about select, and split off the poll change into a separate patch (rewording things alike "use the POSIX# header") Thanks P.S. Please CC me on the patches [1] http://lists.freedesktop.org/archives/dri-devel/2016-January/097833.html
I've sent them to dri-devel and modified them to address your comments.
All the fixes should be in master now. Thanks again and let us know if we ever goof up on the musl front :-)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.