diff options
Diffstat (limited to 'bench/tensors/benchmark.h')
-rw-r--r-- | bench/tensors/benchmark.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bench/tensors/benchmark.h b/bench/tensors/benchmark.h index d8b4fd4c6..2c06075e0 100644 --- a/bench/tensors/benchmark.h +++ b/bench/tensors/benchmark.h @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#include <stddef.h> #include <stdint.h> #include <vector> @@ -45,4 +46,5 @@ void StopBenchmarkTiming(); void StartBenchmarkTiming(); #define BENCHMARK(f) \ static ::testing::Benchmark* _benchmark_##f __attribute__((unused)) = \ - (new ::testing::Benchmark(#f, f))
\ No newline at end of file + (new ::testing::Benchmark(#f, f)) + |