Re: [PATCH 2/2] uapi: add a compatibility layer between linux/uio.h and glibc

2017-09-27 Thread Lee Duncan
Ping? I never saw any response to this. On Wed, 22 Feb 2017 05:29:47 +0300, Dmitry V Levin wrote: > Do not define struct iovec in linux/uio.h when or > is already included and provides these definitions. > > This fixes the following compilation error when or > is included before : > > /usr/i

[PATCH 2/2] uapi: add a compatibility layer between linux/uio.h and glibc

2017-02-21 Thread Dmitry V. Levin
Do not define struct iovec in linux/uio.h when or is already included and provides these definitions. This fixes the following compilation error when or is included before : /usr/include/linux/uio.h:16:8: error: redefinition of 'struct iovec' Signed-off-by: Dmitry V. Levin --- include/uapi