From 4dc5545eff9f8fbf4e3d80bad5421821434605f9 Mon Sep 17 00:00:00 2001 From: Adrian Negreanu Date: Fri, 6 Jun 2014 12:16:09 +0300 Subject: [PATCH] android, egl: add correct drm include for libmesa_egl_dri2 Fixes: src/egl/drivers/dri2/platform_android.c:38: include/GL/internal/dri_interface.h:51:17: fatal error: drm.h: No such file or directory Cc: "10.1 10.2" Signed-off-by: Adrian Negreanu Reviewed-by: Emil Velikov Reviewed-by: Juha-Pekka Heikkila --- src/egl/drivers/dri2/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/src/egl/drivers/dri2/Android.mk b/src/egl/drivers/dri2/Android.mk index 2ff62fc3a4f..c9e2b6484e3 100644 --- a/src/egl/drivers/dri2/Android.mk +++ b/src/egl/drivers/dri2/Android.mk @@ -40,6 +40,7 @@ LOCAL_C_INCLUDES := \ $(MESA_TOP)/src/mapi \ $(MESA_TOP)/src/egl/main \ $(MESA_TOP)/src/loader \ + $(DRM_TOP)/include/drm \ $(DRM_GRALLOC_TOP) LOCAL_STATIC_LIBRARIES := \ -- 2.30.2