Re: [PATCH] uapi: Fix linux/rds.h userspace compilation errors.

2018-08-24 Thread santosh.shilim...@oracle.com
On 8/24/18 6:26 PM, Vinson Lee wrote: Include linux/in6.h for struct in6_addr. /usr/include/linux/rds.h:156:18: error: field ‘laddr’ has incomplete type struct in6_addr laddr; ^ /usr/include/linux/rds.h:157:18: error: field ‘faddr’ has incomplete type struct in6_addr

[PATCH] uapi: Fix linux/rds.h userspace compilation errors.

2018-08-24 Thread Vinson Lee
Include linux/in6.h for struct in6_addr. /usr/include/linux/rds.h:156:18: error: field ‘laddr’ has incomplete type struct in6_addr laddr; ^ /usr/include/linux/rds.h:157:18: error: field ‘faddr’ has incomplete type struct in6_addr faddr; ^ /usr/includ

Re: [PATCH] uapi: fix linux/rds.h userspace compilation errors

2017-02-23 Thread Sergei Shtylyov
Hello! On 2/23/2017 4:13 AM, Dmitry V. Levin wrote: Consistently use types from linux/types.h to fix the following linux/rds.h userspace compilation errors: /usr/include/linux/rds.h:198:2: error: unknown type name 'u8' u8 rx_traces; /usr/include/linux/rds.h:199:2: error: unknown type name 'u

Re: [PATCH] uapi: fix linux/rds.h userspace compilation errors

2017-02-22 Thread Santosh Shilimkar
On 2/22/2017 5:13 PM, Dmitry V. Levin wrote: Consistently use types from linux/types.h to fix the following linux/rds.h userspace compilation errors: /usr/include/linux/rds.h:198:2: error: unknown type name 'u8' u8 rx_traces; /usr/include/linux/rds.h:199:2: error: unknown type name 'u8' u8 r

[PATCH] uapi: fix linux/rds.h userspace compilation errors

2017-02-22 Thread Dmitry V. Levin
Consistently use types from linux/types.h to fix the following linux/rds.h userspace compilation errors: /usr/include/linux/rds.h:198:2: error: unknown type name 'u8' u8 rx_traces; /usr/include/linux/rds.h:199:2: error: unknown type name 'u8' u8 rx_trace_pos[RDS_MSG_RX_DGRAM_TRACE_MAX]; /usr/i