summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Android.mk3
-rw-r--r--lib/igt_fb.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/Android.mk b/lib/Android.mk
index 67352553..d4ebef4a 100644
--- a/lib/Android.mk
+++ b/lib/Android.mk
@@ -33,7 +33,8 @@ include $(LOCAL_PATH)/Makefile.sources
skip_lib_list := \
igt_kms.c \
- igt_kms.h
+ igt_kms.h \
+ igt_fb.c
lib_list := $(filter-out $(skip_lib_list),$(libintel_tools_la_SOURCES))
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>