From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 2514C388F for ; Wed, 4 May 2016 18:47:34 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 04 May 2016 09:38:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,578,1455004800"; d="scan'208";a="972594023" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 04 May 2016 09:38:05 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u44Gc4Ln025536; Wed, 4 May 2016 17:38:04 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id u44Gc4Jn022005; Wed, 4 May 2016 17:38:04 +0100 Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id u44Gc4Ix022001; Wed, 4 May 2016 17:38:04 +0100 From: Bruce Richardson To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, Bruce Richardson Date: Wed, 4 May 2016 17:37:56 +0100 Message-Id: <1462379876-21901-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] eal: add missing include to debug header X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2016 16:47:35 -0000 The header file rte_debug.h makes use of the "unlikely" macro which means it should include the rte_branch_prediction.h header file. Fixes: 50705e8e3cdd ("eal: add assert macro for debug") Signed-off-by: Bruce Richardson --- lib/librte_eal/common/include/rte_debug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/include/rte_debug.h b/lib/librte_eal/common/include/rte_debug.h index 9260eda..cab6fb4 100644 --- a/lib/librte_eal/common/include/rte_debug.h +++ b/lib/librte_eal/common/include/rte_debug.h @@ -44,6 +44,7 @@ */ #include "rte_log.h" +#include "rte_branch_prediction.h" #ifdef __cplusplus extern "C" { -- 2.5.5