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

2016-07-01 Thread Yuanhan Liu
On Wed, Jun 29, 2016 at 03:23:03AM +, 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

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

2016-06-29 Thread Jianfeng Tan
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