From 1b492e311ce13fe4bc42f1edd5479441662d4855 Mon Sep 17 00:00:00 2001 From: Derek Morton Date: Thu, 1 Oct 2015 16:09:02 +0100 Subject: benchmarks: Fix build errors on Android M-Dessert Android M-Dessert treats implicit declaration of function warnings as errors resulting in igt failing to build. This patch fixes the errors by including missing header files as required. Mostly this involved including igt.h in the benchmarks. Signed-off-by: Derek Morton Signed-off-by: Daniel Vetter --- benchmarks/intel_upload_blit_small.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'benchmarks/intel_upload_blit_small.c') diff --git a/benchmarks/intel_upload_blit_small.c b/benchmarks/intel_upload_blit_small.c index ac557a4e..7e3346eb 100644 --- a/benchmarks/intel_upload_blit_small.c +++ b/benchmarks/intel_upload_blit_small.c @@ -40,6 +40,7 @@ * frame. */ +#include "igt.h" #include #include #include @@ -49,13 +50,6 @@ #include #include #include -#include "drm.h" -#include "i915_drm.h" -#include "drmtest.h" -#include "intel_bufmgr.h" -#include "intel_batchbuffer.h" -#include "intel_io.h" -#include "intel_chipset.h" /* Happens to be 128k, the size of the VBOs used by i965's Mesa driver. */ #define OBJECT_WIDTH 256 -- cgit v1.2.3