From: Daniel Mrzyglod Date: Tue, 7 Feb 2017 09:44:34 +0000 (+0100) Subject: app/crypto-perf: fix FreeBSD build X-Git-Tag: spdx-start~4575 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=42537ad1b983936755b0c4c36875551c493b5490;p=dpdk.git 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 --- 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