From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-we0-f175.google.com (mail-we0-f175.google.com
 [74.125.82.175]) by dpdk.org (Postfix) with ESMTP id 4E8EC568F
 for <dev@dpdk.org>; Tue,  3 Mar 2015 23:24:12 +0100 (CET)
Received: by wesw55 with SMTP id w55so42712889wes.5
 for <dev@dpdk.org>; Tue, 03 Mar 2015 14:24:12 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=0aymVhd/C71No5IKrCsMlnw2lLUxLXERuAA7ZMFLdH8=;
 b=PEzL9OHtLCIiIALPieFHwfrY4BoHiBkRvWPOrrh6Mfl8S2iYHjD0n4aAXh7vA5gid1
 znSu7GSxQYVK2MI5Q7EtMZw3C4Kj68xWTAWAtxq3Red6bYc8Ynw+WuSSl8YOxmDbOJlQ
 xiBE4YPFqIvy8pbHIipkCD4ZRlLQkco1Avs6nLFAknM8zfYX0ZKBI6m6K17it0MNZKoP
 nnTZ2bBcWcbHQm4fah79pnd9CfiUnkE3PfTrFyrCpqAdIr4tfwJEYRXDaJRcfzLWzYN2
 MmJ0EQTgX2ZT4YZZWyDxfIWsMo+escTMLq0UUXa9BOqImKOQsls+8nlARbm/NSAJQfkf
 3OZw==
X-Gm-Message-State: ALoCoQllWU6fQxDiwPHI0TjWmOME0wUraUlgd9ZAkfP0zj0OGcV03XLPjscGEyfkWm/815yet3CO
X-Received: by 10.194.110.233 with SMTP id id9mr1955406wjb.136.1425421452208; 
 Tue, 03 Mar 2015 14:24:12 -0800 (PST)
Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])
 by mx.google.com with ESMTPSA id k1sm3209660wjn.9.2015.03.03.14.24.11
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 03 Mar 2015 14:24:11 -0800 (PST)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: David Marchand <david.marchand@6wind.com>
Date: Tue, 03 Mar 2015 23:23:37 +0100
Message-ID: <1637153.LCrn9VkBbJ@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; )
In-Reply-To: <CALwxeUscebzq7+iK4HrTrhA+Kf5yCF8sZz+RABx0=txs0D5Xbw@mail.gmail.com>
References: <1425372295-27839-1-git-send-email-thomas.monjalon@6wind.com>
 <CALwxeUscebzq7+iK4HrTrhA+Kf5yCF8sZz+RABx0=txs0D5Xbw@mail.gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Mar 2015 22:24:12 -0000

> > 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 <thomas.monjalon@6wind.com>
> Acked-by: David Marchand <david.marchand@6wind.com>

Applied