summaryrefslogtreecommitdiff
path: root/lib/igt_fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_fb.h')
-rw-r--r--lib/igt_fb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/igt_fb.h b/lib/igt_fb.h
index 5f0ff51c..7242f9bd 100644
--- a/lib/igt_fb.h
+++ b/lib/igt_fb.h
@@ -28,7 +28,12 @@
#ifndef __IGT_FB_H__
#define __IGT_FB_H__
+#ifndef ANDROID
#include <cairo.h>
+#else
+typedef struct _cairo_surface cairo_surface_t;
+typedef struct _cairo cairo_t;
+#endif
#include <drm_fourcc.h>
#include <xf86drmMode.h>