From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [92.117.122.195] ([92.117.122.195]:53700 "EHLO mail.eperm.de" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S933819AbeGIR1m (ORCPT ); Mon, 9 Jul 2018 13:27:42 -0400 From: Stephan =?ISO-8859-1?Q?M=FCller?= To: Christoph Hellwig Cc: Adrian Reber , viro@zeniv.linux.org.uk, Avi Kivity , linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Mosnacek Subject: Re: [PATCH 7/7] aio: implement io_pgetevents Date: Mon, 09 Jul 2018 19:20:03 +0200 Message-ID: <4315456.xLu0sxa9ll@positron.chronox.de> In-Reply-To: <20180708204359.GA19198@lst.de> References: <20180502211448.18276-1-hch@lst.de> <20180704142116.GM17048@lisas.de> <20180708204359.GA19198@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Am Sonntag, 8. Juli 2018, 22:44:00 CEST schrieb Christoph Hellwig: Hi Christoph, > > diff --git a/include/uapi/linux/aio_abi.h b/include/uapi/linux/aio_abi.h > index 75846164290e..b7705ad66d78 100644 > --- a/include/uapi/linux/aio_abi.h > +++ b/include/uapi/linux/aio_abi.h > @@ -29,7 +29,11 @@ > > #include > #include > +#ifdef __KERNEL__ > #include > +#else > +#include > +#endif > #include Without such a patch, libkcapi fails to compile as well. See [1]. Apart from your suggested patch above, do you have another suggestion how make the user space code compile? [1] https://github.com/smuellerDD/libkcapi/issues/59 Thanks Stephan