android, egl: add correct drm include for libmesa_egl_dri2
authorAdrian Negreanu <adrian.m.negreanu@intel.com>
Fri, 6 Jun 2014 09:16:09 +0000 (12:16 +0300)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 9 Jun 2014 21:51:10 +0000 (22:51 +0100)
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" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
src/egl/drivers/dri2/Android.mk

index 2ff62fc3a4f99ddaff1987c95f8fac2635cc33a1..c9e2b6484e3228e2aee2e782bd73cb38e2161cb6 100644 (file)
@@ -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 := \