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.bis...@boundarydevices.com> Signed-off-by: Fabio Estevam <feste...@gmail.com> --- 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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev