blob: 4a193ee4c0923307d8e6481b2ad083dbf1856e14 [file] [log] [blame]
diff --git a/compat/test.h b/compat/test.h
index 8a912c9..d778e0e 100644
--- a/compat/test.h
+++ b/compat/test.h
@@ -7,4 +7,10 @@
#include <gtest/gtest.h>
+#include <base/macros.h>
+#ifndef arraysize
+#include <base/stl_util.h>
+#define arraysize(x) (base::size((x)))
+#endif
+
#endif // CHROMIUMOS_WIDE_PROFILING_COMPAT_TEST_H_