From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 5434FFFA for ; Thu, 2 Feb 2017 14:43:30 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 02 Feb 2017 05:43:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,324,1477983600"; d="scan'208";a="1090076702" Received: from gklab-246-025.igk.intel.com (HELO Sent) ([10.217.246.25]) by orsmga001.jf.intel.com with SMTP; 02 Feb 2017 05:43:25 -0800 Received: by Sent (sSMTP sendmail emulation); Thu, 02 Feb 2017 14:41:09 +0100 From: Daniel Mrzyglod To: slawomirx.mrozowicz@intel.com Cc: dev@dpdk.org, Daniel Mrzyglod Date: Thu, 2 Feb 2017 14:41:06 +0100 Message-Id: <1486042866-135177-1-git-send-email-danielx.t.mrzyglod@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1485955877-25839-1-git-send-email-danielx.t.mrzyglod@intel.com> References: <1485955877-25839-1-git-send-email-danielx.t.mrzyglod@intel.com> Subject: [dpdk-dev] [PATCH v2] app/test-crypto-perf: fix gcc compilation under FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2017 13:43:31 -0000 This patch fixes error: implicit declaration of function 'getline' Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Daniel Mrzyglod --- v2: * rewrite patch messege * add fixline --- 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 e0bcb20..c53ba67 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.7.4