[Mesa-dev] [PATCH] loader: Include include/drm-uapi in the autotools build

Jason Ekstrand jason at jlekstrand.net
Thu Mar 15 21:29:55 UTC 2018


We're already including it in the meson build.  This fixes build issues
on systems which have a drm_fourcc.h that doesn't have modifiers.
---
 src/loader/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/loader/Makefile.am b/src/loader/Makefile.am
index a0e52c1..7625256 100644
--- a/src/loader/Makefile.am
+++ b/src/loader/Makefile.am
@@ -30,6 +30,7 @@ AM_CPPFLAGS = \
 	-DUSE_DRICONF \
 	$(DEFINES) \
 	-I$(top_srcdir)/include \
+	-I$(top_srcdir)/include/drm-uapi \
 	-I$(top_srcdir)/src \
 	$(VISIBILITY_CFLAGS) \
 	$(XCB_DRI3_CFLAGS) \
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list