benchmarks: fix #include issue in benchmark_tools.h

This commit is contained in:
Hugues Delorme 2016-01-12 16:30:24 +01:00
parent 38bfdb6e72
commit 151948846a
2 changed files with 3 additions and 2 deletions

View File

@ -261,7 +261,8 @@ static size_t find_maxlen_cmp_result_ratio(
return max_len;
}
static void update_benchmark_cmp_result_ratio(struct benchmark_cmp_result* result)
static void update_benchmark_cmp_result_ratio(
struct benchmark_cmp_result* result)
{
if (result->has_func1_exec_time && result->has_func2_exec_time) {
if (result->func2_exec_time_ms > 0) {

View File

@ -16,7 +16,7 @@
#ifndef BENCHMARK_TOOLS_H
#define BENCHMARK_TOOLS_H
#include <gmio_core/global.h>
#include "../../src/gmio_core/global.h"
#include <stddef.h>
GMIO_C_LINKAGE_BEGIN