Re: [PATCH v06 08/36] uapi asm-generic/shmbuf.h: include fixes

2017-08-08 Thread Dmitry V. Levin
On Sun, Aug 06, 2017 at 06:43:59PM +0200, Mikko Rapeli wrote: > Include linux/types.h and asm/msgbuf.h and use __kernel_size_t instead > of size_t. > > Fixes userspace compilation errors like: > > error: field ‘shm_perm’ has incomplete type > struct ipc64_perm shm_perm; /* operation perms */ >

Re: [PATCH v06 08/36] uapi asm-generic/shmbuf.h: include fixes

2017-08-08 Thread Dmitry V. Levin
On Sun, Aug 06, 2017 at 06:43:59PM +0200, Mikko Rapeli wrote: > Include linux/types.h and asm/msgbuf.h and use __kernel_size_t instead > of size_t. > > Fixes userspace compilation errors like: > > error: field ‘shm_perm’ has incomplete type > struct ipc64_perm shm_perm; /* operation perms */ >

[PATCH v06 08/36] uapi asm-generic/shmbuf.h: include fixes

2017-08-06 Thread Mikko Rapeli
Include linux/types.h and asm/msgbuf.h and use __kernel_size_t instead of size_t. Fixes userspace compilation errors like: error: field ‘shm_perm’ has incomplete type struct ipc64_perm shm_perm; /* operation perms */ error: unknown type name ‘size_t’ error: unknown type name ‘__kernel_time_t’

[PATCH v06 08/36] uapi asm-generic/shmbuf.h: include fixes

2017-08-06 Thread Mikko Rapeli
Include linux/types.h and asm/msgbuf.h and use __kernel_size_t instead of size_t. Fixes userspace compilation errors like: error: field ‘shm_perm’ has incomplete type struct ipc64_perm shm_perm; /* operation perms */ error: unknown type name ‘size_t’ error: unknown type name ‘__kernel_time_t’