From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal/linux: fix build Date: Tue, 03 Mar 2015 23:23:37 +0100 Message-ID: <1637153.LCrn9VkBbJ@xps13> References: <1425372295-27839-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org To: David Marchand Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > > Compilation fails in some distributions because of missing unistd.h= > > needed for pread/pwrite (seen with Suse): > > lib/librte_eal/linuxapp/eal/eal_pci_uio.c:62:2: > > error: implicit declaration of function =E2=80=98pread=E2=80= =99 > > > > Fixes: 4a499c649590 ("eal/linux: enable uio_pci_generic support") > > > > Signed-off-by: Thomas Monjalon > Acked-by: David Marchand Applied