Re: [PATCH] drm/vmwgfx: Fix drm.h include
From: Julien Cristau
Date: Mon Sep 22 2014 - 16:06:06 EST
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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx>
> > Signed-off-by: Josh Boyer <jwboyer@xxxxxxxxxxxxxxxxx>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/