diff --git a/libutils/SharedBufferTest.cpp b/libutils/SharedBufferTest.cpp index d88fbf397..a0484ffb5 100644 --- a/libutils/SharedBufferTest.cpp +++ b/libutils/SharedBufferTest.cpp @@ -16,13 +16,13 @@ #define __STDC_LIMIT_MACROS -#include - #include #include #include +#include "SharedBuffer.h" + TEST(SharedBufferTest, TestAlloc) { EXPECT_DEATH(android::SharedBuffer::alloc(SIZE_MAX), ""); EXPECT_DEATH(android::SharedBuffer::alloc(SIZE_MAX - sizeof(android::SharedBuffer)), "");