From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id CB7B3A034F
	for <public@inbox.dpdk.org>; Thu, 25 Feb 2021 19:24:15 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 8C3911608F7;
	Thu, 25 Feb 2021 19:24:11 +0100 (CET)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 4E4321608E6;
 Thu, 25 Feb 2021 19:24:09 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id EB6D75C0120;
 Thu, 25 Feb 2021 13:24:08 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Thu, 25 Feb 2021 13:24:08 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding; s=fm3; bh=AKYSSaj9DUivy
 LMyWphW/zWS3fNHpj5co0R7gEe78hk=; b=pfFMFcJ2BGzJKCZEILWDIsEQK30tK
 /ycIHIF7oXt8Yj2GmSEZNtkHAQmTKYTwuj/R9XKmZaQfnYgzhVYCetgol+16hwy3
 j4SvdUC3mRAf+E9bLV5YHsYdKoDi2n6tJqOINsKWEv2ezSjTMmSAIYAK05bv2dJ8
 8IixWwyDtxXWqXtDuHQpZttvo7Tmw7IDmXu9ANZ9ygmdWOR4HGl9GNuO4OqFJ7mC
 s0iOXW99Af/y7WUSLmyxqQK82RfJbo//bhrqd8vIjlZZnpnGUNzxiXnr3hTqAUcn
 56ug25cQPE5U6kPgLP2dqVGyehQg11f7sFKVdPNlDcdD51XrQQ8M+Nwjw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:date:from
 :in-reply-to:message-id:mime-version:references:subject:to
 :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; bh=AKYSSaj9DUivyLMyWphW/zWS3fNHpj5co0R7gEe78hk=; b=jSgU47r7
 7CvUnoHBZZ466MPYELxJUzbcEa1yxB/OX7GhAhn4jecLWENGoOiHQBhYQ3vO+Lik
 JvrFooktyawkpQi+/HfDPnOn78zEF8xbjw7ib7HwvFF4JzHpS+94sFC1utLItPWf
 Vqj+IULjT2f9PtWXMkmdmfzPktc0eT9QErRGLtQQUr24MXDfUe8Ql/NEG3v/Ni/K
 tkAEv1FVMSKHf2Ea7RcoH+2pPQtOuSR5BpJeJEwyNeKbGnOcOcMSRt29CTx7XVOy
 fqbnssZW7q4cdu/22S6KW3SW2pJ1Tg/GTsxQFE66+fEXq9YbBFYYX+WH6ikbEwOe
 ibEzU/Mt35FwkA==
X-ME-Sender: <xms:SOs3YN2RwFmHdUicYspmAuRERUi5hbWgOn3k4Dwdqe8q8eyBB1HkPQ>
 <xme:SOs3YEHFvJ_po2AJTbZchsjIu-5o4i_1lC-D9pQXOl-AVSxLPBbobOcVcwQd4xoED
 DSMeBMnoXfZ-a9kbg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeelgdduudegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg
 uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf
 hiiigvpedutdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr
 lhhonhdrnhgvth
X-ME-Proxy: <xmx:SOs3YN665Mn1TdMVeGrzYxY4bIFfrp2HdDc6VdVs39_eYgPCRb6vOw>
 <xmx:SOs3YK1w0oOxK52tZLmtRk4k50NsWOGP0IrwrinXsntwcZKE2bprig>
 <xmx:SOs3YAEslVOS4vMxZvvohtZnTW58pmemJnmjZ1OIB08fwkOgYnET8Q>
 <xmx:SOs3YFRYfyTjlUcWynWv-vinldefoYdz__4N4pC-hLJtIt3d_Na4AA>
Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 4033924005B;
 Thu, 25 Feb 2021 13:24:08 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Cc: ncopa@alpinelinux.org, stable@dpdk.org,
 Nicolas Chautru <nicolas.chautru@intel.com>,
 Amr Mokhtar <amr.mokhtar@intel.com>
Date: Thu, 25 Feb 2021 19:22:50 +0100
Message-Id: <20210225182250.1149592-18-thomas@monjalon.net>
X-Mailer: git-send-email 2.30.1
In-Reply-To: <20210225182250.1149592-1-thomas@monjalon.net>
References: <20190313170657.16688-1-ncopa@alpinelinux.org>
 <20210225182250.1149592-1-thomas@monjalon.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-stable] [PATCH v5 17/17] examples/bbdev: fix header include
 for musl
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

The header file unistd.h should not be included from sys/ directory,
it is an error with musl libc.

Fixes: 1ffee690eaa1 ("examples/bbdev: add sample app")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 examples/bbdev_app/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/bbdev_app/main.c b/examples/bbdev_app/main.c
index 2e170caf84..20cfd327fb 100644
--- a/examples/bbdev_app/main.c
+++ b/examples/bbdev_app/main.c
@@ -8,7 +8,7 @@
 #include <stdint.h>
 #include <inttypes.h>
 #include <sys/types.h>
-#include <sys/unistd.h>
+#include <unistd.h>
 #include <sys/queue.h>
 #include <stdarg.h>
 #include <ctype.h>
-- 
2.30.1