From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH 1/2] eal: add missing include to rte_pci.h Date: Mon, 25 May 2015 13:23:53 +0100 Message-ID: <1432556634-9498-2-git-send-email-bruce.richardson@intel.com> References: <1432556634-9498-1-git-send-email-bruce.richardson@intel.com> To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E9787C316 for ; Mon, 25 May 2015 14:23:58 +0200 (CEST) In-Reply-To: <1432556634-9498-1-git-send-email-bruce.richardson@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" rte_pci.h depends upon stdio.h for the definition of the FILE type. Add in #include to the file to satisfy this dependency in cases where the including C file does not already include stdio. Signed-off-by: Bruce Richardson --- lib/librte_eal/common/include/rte_pci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index 223d3cd..a346532 100644 --- a/lib/librte_eal/common/include/rte_pci.h +++ b/lib/librte_eal/common/include/rte_pci.h @@ -74,6 +74,7 @@ extern "C" { #endif +#include #include #include #include -- 2.1.0