Re: [PATCH 0/9] uapi: drm: fixes for userspace compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 Nov 2015 11:08:12 +0000
Emil Velikov <emil.l.velikov@xxxxxxxxx> wrote:

> With the above said:
>  - I was thinking about hiding the UAPI ones, although Dave suggested
> against it.
>  - Doing s|drm/drm.h|drm.h| will break compilation:
>    + for the kernel - as we don't add the foo/drm/ to the include directive,
>    + for any hacked up userspace - very unlikely that they have the
> include, considering that things work without it.

We are not suggesting doing s|drm/drm.h|drm.h| but by replacing

#include <drm/drm.h>

by

#include "drm.h"

The header will be picked-up correclty in kernel, and in userland.


Is it possible to also resynchronize both headers, in order for them to
be the same in libdrm and the kernel ?

-- 
Gabriel Laskar
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux