lkml.org 
[lkml]   [2014]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drm/vmwgfx: Fix drm.h include
On Tue, Sep 16, 2014 at 09:43:50 -0400, Josh Boyer wrote:

> On Fri, Sep 5, 2014 at 1:19 PM, Josh Boyer <jwboyer@fedoraproject.org> wrote:
> > The userspace drm.h include doesn't prefix the drm directory. This can lead
> > to compile failures as /usr/include/drm/ isn't in the standard gcc include
> > paths. Fix it to be <drm/drm.h>, which matches the rest of the driver drm
> > header files that get installed into /usr/include/drm.
> >
> > Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1138759
> >
> > Fixes: 1d7a5cbf8f74e
> > Reported-by: Jeffrey Bastian <jbastian@redhat.com>
> > Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
>
> Ping? Did this get queued anywhere?
>
Any reason this doesn't just #include "drm.h"? That should work whether
the drm headers are installed in /usr/include/drm/ or
/usr/include/libdrm/...

Cheers,
Julien, who doesn't have a /usr/include/drm/ either


\
 
 \ /
  Last update: 2014-09-22 22:41    [W:0.116 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site