From 42537ad1b983936755b0c4c36875551c493b5490 Mon Sep 17 00:00:00 2001 From: Daniel Mrzyglod Date: Tue, 7 Feb 2017 10:44:34 +0100 Subject: [PATCH] app/crypto-perf: fix FreeBSD build This patch fixes error: implicit declaration of function 'getline' Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Daniel Mrzyglod --- app/test-crypto-perf/cperf_test_vector_parsing.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-crypto-perf/cperf_test_vector_parsing.c b/app/test-crypto-perf/cperf_test_vector_parsing.c index e0bcb20150..c53ba67875 100644 --- a/app/test-crypto-perf/cperf_test_vector_parsing.c +++ b/app/test-crypto-perf/cperf_test_vector_parsing.c @@ -1,3 +1,6 @@ +#ifdef RTE_EXEC_ENV_BSDAPP + #define _WITH_GETLINE +#endif #include #include -- 2.20.1