https://bugs.freedesktop.org/show_bug.cgi?id=94231
Bug ID: 94231 Summary: Problems compiling libdrm since glibc 2.23 Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: libdrm Assignee: dri-devel@lists.freedesktop.org Reporter: mike@fireburn.co.uk
Created attachment 121865 --> https://bugs.freedesktop.org/attachment.cgi?id=121865&action=edit Patch to include sys/sysmacros.h in libdrm
Get errors about mkdev, major and minor not being defined when compiling libdrm after upgrading glibc to 2.23
Including sys/sysmacros.h fixes it for me