From f98e4bf7fb9496afbc31fd4812f5832e34aab7b8 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 21 Nov 2013 22:09:46 -0800 Subject: [PATCH] Fix build. Change-Id: I6552bf9f83faa97bd5a844381aceb3ef85f86c76 --- include/ion/ion.h | 2 ++ libion/ion_test.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ion/ion.h b/include/ion/ion.h index 018c0a1cb..fbd34e2a9 100644 --- a/include/ion/ion.h +++ b/include/ion/ion.h @@ -25,6 +25,8 @@ __BEGIN_DECLS +struct ion_handle; + int ion_open(); int ion_close(int fd); int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, diff --git a/libion/ion_test.c b/libion/ion_test.c index 0caaa2a29..d2c37ca29 100644 --- a/libion/ion_test.c +++ b/libion/ion_test.c @@ -13,7 +13,6 @@ #include #include -#include size_t len = 1024*1024, align = 0; int prot = PROT_READ | PROT_WRITE;