[PATCH:libdrm] On Solaris, #include <sys/mkdev.h> in xf86drm.c
Emil Velikov
emil.l.velikov at gmail.com
Mon Mar 9 05:44:41 PDT 2015
On 7 March 2015 at 19:50, Alan Coopersmith <alan.coopersmith at oracle.com> wrote:
> Needed for the definitions of major() & minor() used in
> drmGetNodeTypeFromFd() and makedev() used in drmOpenMinor()
>
On my linux box they are declared in #include <sys/types.h>, behind a
_BSD_SOURCE guard.
That aside, patch looks great. Thanks.
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
-Emil
More information about the dri-devel
mailing list