On Sun, Aug 06, 2017 at 06:44:00PM +0200, Mikko Rapeli wrote: > Fixes userspace compilation errors like: > > error: field ‘msg_perm’ has incomplete type > struct ipc64_perm msg_perm; > error: unknown type name ‘__kernel_ulong_t’ > > Signed-off-by: Mikko Rapeli > Acked-by: Arnd Bergmann > Cc: H.J. Lu > Cc: H. Peter Anvin > --- > include/uapi/asm-generic/sembuf.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/uapi/asm-generic/sembuf.h b/include/uapi/asm-generic/sembuf.h > index 4cb2c13e5090..17d523f86923 100644 > --- a/include/uapi/asm-generic/sembuf.h > +++ b/include/uapi/asm-generic/sembuf.h > @@ -2,6 +2,8 @@ > #define __ASM_GENERIC_SEMBUF_H > > #include > +#include > +#include I don't think you need to include here, is necessary and enough, see http://lkml.kernel.org/r/20170302002228.GB27132@altlinux.org -- ldv