[Mesa-dev] [PATCH kmscube 3/5] Remove hacky "drm/" prefix in include path

Emil Velikov emil.l.velikov at gmail.com
Mon Mar 13 15:28:30 UTC 2017


The file is provided by the libdrm so which knows about the location.

Since we already honour the Cflags provided by libdrm, any potential
build issues are most likely due to broken package shipped by the
distro.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common.h b/common.h
index b7e0c5b..2c27082 100644
--- a/common.h
+++ b/common.h
@@ -31,7 +31,7 @@
 #include <EGL/eglext.h>
 
 #include <gbm.h>
-#include <drm/drm_fourcc.h>
+#include <drm_fourcc.h>
 
 struct gbm {
 	struct gbm_device *dev;
-- 
2.11.1



More information about the mesa-dev mailing list