Include <drm_mode.h> header to avoid the following kmscube 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. Reported-by: Gary Bisson <gary.bis...@boundarydevices.com> Signed-off-by: Fabio Estevam <feste...@gmail.com> --- Changes since v2: - Only include <drm_mode.h> drm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drm.h b/drm.h index c41683b..5225c6c 100644 --- a/drm.h +++ b/drm.h @@ -24,6 +24,7 @@ #ifndef _DRM_H #define _DRM_H +#include <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