From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 443295A6E for ; Wed, 3 May 2017 09:02:26 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 03 May 2017 00:02:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,283,1491289200"; d="scan'208";a="81846768" Received: from silpixa00381631.ir.intel.com (HELO silpixa00381631.ger.corp.intel.com) ([10.237.222.122]) by orsmga002.jf.intel.com with ESMTP; 03 May 2017 00:01:58 -0700 From: Pablo de Lara To: jingjing.wu@intel.com, remy.horton@intel.com Cc: dev@dpdk.org, Pablo de Lara Date: Wed, 3 May 2017 08:02:09 +0100 Message-Id: <1493794929-105798-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] app/testpmd: fix compilation when bitrate lib is disabled 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: Wed, 03 May 2017 07:02:26 -0000 Fixes: e25e6c70fb56 ("app/testpmd: add --bitrate-stats option") Signed-off-by: Pablo de Lara --- app/test-pmd/testpmd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index dfe6442..776b8dd 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -2239,7 +2239,9 @@ main(int argc, char** argv) "core mask supplied in the command parameters\n"); /* Bitrate stats disabled by default */ +#ifdef RTE_LIBRTE_BITRATE bitrate_enabled = 0; +#endif argc -= diag; argv += diag; -- 2.7.4