Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1157914
| From | Emil Velikov <emil.l.velikov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 09/98] via_drm.h: include linux/types.h instead of non-existing via_drmclient.h |
| Date | 2015-06-03 19:20 +0200 |
| Message-ID | <pxkuE-7Ey-63@gated-at.bofh.it> (permalink) |
| References | <pvR1E-79V-13@gated-at.bofh.it> <pvRl0-7xY-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Mikko, On 30 May 2015 at 16:38, Mikko Rapeli <mikko.rapeli@iki.fi> wrote: > Fixes compiler error: > > drm/via_drm.h:36:27: fatal error: via_drmclient.h: No such file or directory > > Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi> > --- > include/uapi/drm/via_drm.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h > index 8b0533c..791531e 100644 > --- a/include/uapi/drm/via_drm.h > +++ b/include/uapi/drm/via_drm.h > @@ -24,6 +24,7 @@ > #ifndef _VIA_DRM_H_ > #define _VIA_DRM_H_ > > +#include <linux/types.h> As mentioned elsewhere one could avoid this, and just use drm.h to manage the approapriate types (uint32_t vs __u32 and so on). > #include <drm/drm.h> > > /* WARNING: These defines must be the same as what the Xserver uses. > @@ -33,9 +34,6 @@ > #ifndef _VIA_DEFINES_ > #define _VIA_DEFINES_ > > -#ifndef __KERNEL__ > -#include "via_drmclient.h" > -#endif > I fear that this one is a particular example of a nasty legacy from the UMS days. The file is available/provided in very old mesa versions and at the very same time mesa requires via_drm.h. So I would kindly ask that you: - Grab the libdrm userspace package, and apply a similar change. - Rebuild/install the above. - Fetch mesa 7.11, and try building the via dri module. Ideally things will continue to build, alternatively we might need to add another/additional guard for this include. Thanks Emil -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 09/98] via_drm.h: include linux/types.h instead of non-existing via_drmclient.h Emil Velikov <emil.l.velikov@gmail.com> - 2015-06-03 19:20 +0200 Re: [PATCH 09/98] via_drm.h: include linux/types.h instead of non-existing via_drmclient.h Emil Velikov <emil.l.velikov@gmail.com> - 2015-06-04 13:40 +0200
csiph-web