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 97851A0521; Thu, 5 Nov 2020 22:20:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 14FE15AB2; Thu, 5 Nov 2020 22:17:49 +0100 (CET) Received: from mx1.tetrasec.net (mx1.tetrasec.net [66.245.176.36]) by dpdk.org (Postfix) with ESMTP id C5F942E8B; Thu, 5 Nov 2020 22:17:43 +0100 (CET) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 76A5E13C616; Thu, 5 Nov 2020 21:17:42 +0000 (UTC) Received: from ncopa-desktop.lan (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: n@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id DC9F013C612; Thu, 5 Nov 2020 21:17:41 +0000 (UTC) From: Natanael Copa To: dev@dpdk.org Cc: Natanael Copa , stable@dpdk.org Date: Thu, 5 Nov 2020 22:17:16 +0100 Message-Id: <20201105211716.25181-9-ncopa@alpinelinux.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201105211716.25181-1-ncopa@alpinelinux.org> References: <18966392.1bK43UoomU@xps> <20201105211716.25181-1-ncopa@alpinelinux.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] [PATCH v4 8/8] eal: add missing include to fix build with musl libc 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" Solve the build error with musl libc: ../lib/librte_eal/unix/eal_file.c: In function 'eal_file_open': ../lib/librte_eal/unix/eal_file.c:22:15: error: 'O_RDONLY' undeclared (first use in this function) 22 | sys_flags =3D O_RDONLY; | ^~~~~~~~ Fixes: 176bb37ca6f3 ("eal: introduce internal wrappers for file operation= s") Cc: stable@dpdk.org Signed-off-by: Natanael Copa --- lib/librte_eal/unix/eal_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/unix/eal_file.c b/lib/librte_eal/unix/eal_fil= e.c index 1b26475ba..ec554e009 100644 --- a/lib/librte_eal/unix/eal_file.c +++ b/lib/librte_eal/unix/eal_file.c @@ -4,6 +4,7 @@ =20 #include #include +#include #include =20 #include --=20 2.29.2