From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1AD1EA04DD for ; Tue, 20 Oct 2020 10:50:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8EA3EC8A8; Tue, 20 Oct 2020 10:50:01 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 835C5BBAC for ; Tue, 20 Oct 2020 10:49:05 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from talshn@nvidia.com) with SMTP; 20 Oct 2020 11:48:59 +0300 Received: from nvidia.com (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 09K8mxLv030360; Tue, 20 Oct 2020 11:48:59 +0300 From: Tal Shnaiderman To: dev@dpdk.org Cc: thomas@monjalon.net, pallavi.kadam@intel.com, dmitry.kozliuk@gmail.com, ranjit.menon@intel.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, ophirmu@nvidia.com, stable@dpdk.org Date: Tue, 20 Oct 2020 11:48:15 +0300 Message-Id: <20201020084815.13796-1-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 Subject: [dpdk-stable] [PATCH] eal/windows: fix missing header inclusion X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Following the addition of the in_addr/in6_addr structs to in.h the header file must have stdint.h included for the definitions of the uint8_t/uint32_t types used within the new structs. Not having it could results in the following errors in places where in.h is included: in.h:30:2: error: unknown type name 'uint32_t' uint32_t s_addr; in.h:34:2: error: unknown type name 'uint8_t' uint8_t s6_addr[16]; Fixes: f40a74cfcf0 ("eal/windows: improve compatibility networking headers") Cc: stable@dpdk.org Signed-off-by: Tal Shnaiderman --- lib/librte_eal/windows/include/netinet/in.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/windows/include/netinet/in.h b/lib/librte_eal/windows/include/netinet/in.h index be1469ec11..6455b9ba51 100644 --- a/lib/librte_eal/windows/include/netinet/in.h +++ b/lib/librte_eal/windows/include/netinet/in.h @@ -5,6 +5,7 @@ #ifndef _IN_H_ #define _IN_H_ +#include #include #define IPPROTO_IP 0 -- 2.16.1.windows.4