Thread (6 messages) 6 messages, 3 authors, 2016-07-01

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

From: Yuanhan Liu <hidden>
Date: 2016-07-01 02:09:38

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 <redacted>
Applied to dpdk-next-virtio.

Thanks.

	--yliu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help