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 026D0A04DD; Tue, 20 Oct 2020 11:42:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 70058C92A; Tue, 20 Oct 2020 11:37:58 +0200 (CEST) Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by dpdk.org (Postfix) with ESMTP id 65631C920; Tue, 20 Oct 2020 11:37:56 +0200 (CEST) Received: by mail-lj1-f195.google.com with SMTP id a4so1278099lji.12; Tue, 20 Oct 2020 02:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lrug4DPG7U05NdASHQx7nN40SYEtpPsy3TXLnPWJy70=; b=Xqzoj4AN56yY8FLx/SlAZAvZfcDTU0I3gAP6cNPhaqK6+T8PoLoW7yw5Sqc0Jw7PcG TdrfFHaNS/c4Vv09SiyAb1UpdUQI0Af4Jbic0UCJt/tx8Yy6/y8ZtNrQgGYKpqXkfz9x iw7h8dYkk6UGevve3lfKdVTqjb/TMqZePRDlcI9Gpp8GOEUcg5RhYss89Ocxy+DL4AcB v8dRaDBcSWRADdzCKT2t3DnSLgETUwDiwN09QyFlSvjIYX4OeIF1pkeHHGrWtdG3LacL Gbq4OFELSJvEe1DxhtVUzFXVJZhJC5WMwmGamLFTZwdK1u2yejNFaRaA59QS9svQCgSF +4tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lrug4DPG7U05NdASHQx7nN40SYEtpPsy3TXLnPWJy70=; b=gxIrTGiK/nqgMiMwh9qw+Xb/keLEQ/4w6NXTw/VeVPX62DHbq/MsReyx0wusbyDYra vKxPhwZ2uYmjAHNCJSHn9WgSbF+R3+015CmvHTUohIPuGherYPxz28iqePe2984TjL0g 4/KR9HzIskex3hJ2skBOx4zhccige5m4QEbcsmWad7oYcbcoj6UoTni/Vi3wUX6dYVaC hmNjuBXy6wljJvWS2b0Q5+C6mlwNrUefdWVEO7XAFopZ5+AznrGecB/9AaeJ8NKOMTY/ n7t1xnUPDrs3BmEQAVe6bB51vvG7AGv5Qn38W2OzEMHhH5kVIFZD828coD1hjDbrwaZh lUrw== X-Gm-Message-State: AOAM531vwDU0qwhSXjV5d062IkURXTVAPm+lSg+aPGFDUDCtY0F7daFv qCoZckciJZ8OG+LjFiqRZq0= X-Google-Smtp-Source: ABdhPJz8SS5HQ50eJZIdu8/bq8u0GhxBJ/Me+gQDLuHVIGruliGQXniRgoEmYvIajGWMI1DfJWxibw== X-Received: by 2002:a2e:8799:: with SMTP id n25mr815600lji.348.1603186674920; Tue, 20 Oct 2020 02:37:54 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id o22sm281000ljg.122.2020.10.20.02.37.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 02:37:54 -0700 (PDT) Date: Tue, 20 Oct 2020 12:37:52 +0300 From: Dmitry Kozlyuk To: Tal Shnaiderman Cc: dev@dpdk.org, thomas@monjalon.net, pallavi.kadam@intel.com, ranjit.menon@intel.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, ophirmu@nvidia.com, stable@dpdk.org Message-ID: <20201020123752.6e266990@sovereign> In-Reply-To: <20201020084815.13796-1-talshn@nvidia.com> References: <20201020084815.13796-1-talshn@nvidia.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] eal/windows: fix missing header inclusion 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, 20 Oct 2020 11:48:15 +0300, Tal Shnaiderman wrote: > 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 Acked-by: Dmitry Kozlyuk