summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_display.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/igt_display.h b/lib/igt_display.h
index 1357ce99..84638b2d 100644
--- a/lib/igt_display.h
+++ b/lib/igt_display.h
@@ -33,6 +33,10 @@ enum pipe {
};
#define pipe_name(p) ((p) + 'A')
+/* FIXME: i915_drm.h on Android pollutes the general namespace. */
+#undef PLANE_A
+#undef PLANE_B
+
enum plane {
PLANE_A = 0,
PLANE_B,