[dpdk-dev] [PATCH v2] net/virtio-user: fix build error in SUSE 11

Yuanhan Liu yuanhan.liu at linux.intel.com
Fri Jul 1 04:10:09 CEST 2016


On Wed, Jun 29, 2016 at 03:23:03AM +0000, Jianfeng Tan wrote:
> On some older systems, such as SUSE 11, the compiling error shows
> as:
>    .../dpdk/drivers/net/virtio/virtio_user/virtio_user_dev.c:67:22:
>          error: ‘O_CLOEXEC’ undeclared (first use in this function)
> 
> The fix is to use EFD_CLOEXEC, which is defined in sys/eventfd.h,
> instead of O_CLOEXEC which needs _GNU_SOURCE defined on some old
> systems.
> 
> Fixes: 37a7eb2ae816 ("net/virtio-user: add device emulation layer")
> 
> Signed-off-by: Jianfeng Tan <jianfeng.tan at intel.com>

Applied to dpdk-next-virtio.

Thanks.

	--yliu


More information about the dev mailing list