eal/linux: fix build
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 3 Mar 2015 08:37:54 +0000 (09:37 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 3 Mar 2015 22:21:33 +0000 (23:21 +0100)
commit8cf61ec829c33d908064b5c88f61cc4914c6c555
tree0305d8cdf3f4aedfe48adbac7ca061f5866e4319
parenta001589ec1d7ac0abd6eb382db09d755c5a456f8
eal/linux: fix build

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 â€˜pread’

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>
lib/librte_eal/linuxapp/eal/eal_pci_uio.c