app/crypto-perf: fix FreeBSD build

This patch fixes error: implicit declaration of function 'getline'

Fixes: f8be1786b1 ("app/crypto-perf: introduce performance test application")

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
This commit is contained in:
Daniel Mrzyglod 2017-02-07 10:44:34 +01:00 committed by Thomas Monjalon
parent 304eedb605
commit 42537ad1b9

View File

@ -1,3 +1,6 @@
#ifdef RTE_EXEC_ENV_BSDAPP
#define _WITH_GETLINE
#endif
#include <stdio.h>
#include <rte_malloc.h>