[Mesa-dev] [PATCH kmscube v3 1/2] drm.h: Include <drm_mode.h>

Fabio Estevam festevam at gmail.com
Mon Mar 13 15:16:48 UTC 2017


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.bisson at boundarydevices.com>
Signed-off-by: Fabio Estevam <festevam at 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



More information about the mesa-dev mailing list