From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) by dpdk.org (Postfix) with ESMTP id 714D4106B for ; Tue, 3 Mar 2015 10:12:20 +0100 (CET) Received: by mail-ob0-f181.google.com with SMTP id uz6so1601852obc.12 for ; Tue, 03 Mar 2015 01:12:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=1Ug27rs5PCiXTOFv/D1nUdtGzRjl8aUOMOR7c4Jiv44=; b=gfdlKnJqouxlIXJSqOlk5xpVfWx4TrvDBDU4WrWGn+gTbtml7in5KR030718cw+yTi w87FxwV7J05QD6vecNCKOojRAhPa0MDHarON645XDuKaaAckS8uBJ4HLrt2gmLQtJ1Xf 2hYA+KihA/pN5wGoauSGr+hmpxHLDJJo1OH8Qi35BsZETkSCdI5RKWmaWVSB1o5M+5Eq KJcn9Nk3ieZD7NqcIaG/a8eSC8uQ04CqtmfiVhiYhSPFjK8Q8t0E4EzIrghGZWOfH5Hc tQrW0VYZwvdV04JgyC9E5uphkuA1Uq54RAPMCwNZfjcCsY9kaiAe64r98CP64WDyNeHg iEIA== X-Gm-Message-State: ALoCoQmB8nFyYJQv4Munv4OeXyp7xSM+mAsVvGntOdTgrNKjzE6H+zolb0G3a4XWLGnrzeXHBQUJ MIME-Version: 1.0 X-Received: by 10.182.116.130 with SMTP id jw2mr22642087obb.48.1425373939599; Tue, 03 Mar 2015 01:12:19 -0800 (PST) Received: by 10.76.34.35 with HTTP; Tue, 3 Mar 2015 01:12:19 -0800 (PST) In-Reply-To: <1425372295-27839-1-git-send-email-thomas.monjalon@6wind.com> References: <1425372295-27839-1-git-send-email-thomas.monjalon@6wind.com> Date: Tue, 3 Mar 2015 10:12:19 +0100 Message-ID: From: David Marchand To: Thomas Monjalon Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 09:12:20 -0000 On Tue, Mar 3, 2015 at 9:44 AM, Thomas Monjalon wrote: > 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 > --- > lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c > b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c > index 35d31c5..0b397ca 100644 > --- a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c > +++ b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c > @@ -32,6 +32,7 @@ > */ > > #include > +#include > #include > #include > #include > > Acked-by: David Marchand --=20 David Marchand