[dpdk-dev] [PATCH] net/virtio-user: fix O_CLOEXEC undeclared error

2016-06-29 Thread Yuanhan Liu
On Tue, Jun 28, 2016 at 10:41:24AM +0100, Ferruh Yigit wrote: > On 6/26/2016 2:49 PM, 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

[dpdk-dev] [PATCH] net/virtio-user: fix O_CLOEXEC undeclared error

2016-06-28 Thread Yuanhan Liu
On Sun, Jun 26, 2016 at 01:49:46PM +, 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 decl

[dpdk-dev] [PATCH] net/virtio-user: fix O_CLOEXEC undeclared error

2016-06-28 Thread Ferruh Yigit
On 6/26/2016 2:49 PM, 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 declare _GNU_SOURCE macr

[dpdk-dev] [PATCH] net/virtio-user: fix O_CLOEXEC undeclared error

2016-06-26 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 declare _GNU_SOURCE macro before include fcntl.h. Fixes: 37a7eb2ae816 ("net/v