[Mesa-dev] [PATCH kmscube v2 1/2] drm.h: Include libdrm headers

Ilia Mirkin imirkin at alum.mit.edu
Mon Mar 13 14:20:17 UTC 2017


On Mon, Mar 13, 2017 at 10:14 AM, Fabio Estevam <festevam at gmail.com> wrote:
> Include <libdrm/drm.h> and <libdrm/drm_mode.h> headers to avoid
> the following build errors on sparc64:
>
> http://autobuild.buildroot.net/results/d7e/d7e82c67e0b04b0aea990bfb19dd6e4fd914bebe/build-end.log
>
> This also fixes the build error reported by Gary Bisson on ARM
> when using Linaro 2017.02 ARM gnueabihf toolchain and
> also on x86 with Ubuntu 16.04.
>
> Reported-by: Gary Bisson <gary.bisson at boundarydevices.com>
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
> ---
> Changes since v1:
> - Indicate kmscube in the Subject (Ilia)

Any reason not to address my other comment? Do you disagree?

>
>  drm.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drm.h b/drm.h
> index c41683b..6ac7a82 100644
> --- a/drm.h
> +++ b/drm.h
> @@ -24,6 +24,8 @@
>  #ifndef _DRM_H
>  #define _DRM_H
>
> +#include <libdrm/drm.h>
> +#include <libdrm/drm_mode.h>
>  #include <xf86drm.h>
>  #include <xf86drmMode.h>
>
> --
> 2.7.4
>


More information about the mesa-dev mailing list