summaryrefslogtreecommitdiff
path: root/src/gallium/targets/egl-static/egl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl-static/egl.c')
-rw-r--r--src/gallium/targets/egl-static/egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/egl-static/egl.c b/src/gallium/targets/egl-static/egl.c
index 5a66e3c34c3..adf1229caba 100644
--- a/src/gallium/targets/egl-static/egl.c
+++ b/src/gallium/targets/egl-static/egl.c
@@ -109,7 +109,7 @@ out:
return (*chip_id >= 0);
}
-#elif defined(PIPE_OS_ANDROID)
+#elif defined(PIPE_OS_ANDROID) && !defined(_EGL_NO_DRM)
#include <xf86drm.h>
/* for i915 */