[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4315456.xLu0sxa9ll@positron.chronox.de>
Date: Mon, 09 Jul 2018 19:20:03 +0200
From: Stephan Müller <smueller@...onox.de>
To: Christoph Hellwig <hch@....de>
Cc: Adrian Reber <adrian@...as.de>, viro@...iv.linux.org.uk,
Avi Kivity <avi@...lladb.com>, linux-aio@...ck.org,
linux-fsdevel@...r.kernel.org, linux-api@...r.kernel.org,
linux-kernel@...r.kernel.org, Ondrej Mosnacek <omosnace@...hat.com>
Subject: Re: [PATCH 7/7] aio: implement io_pgetevents
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 <linux/types.h>
> #include <linux/fs.h>
> +#ifdef __KERNEL__
> #include <linux/signal.h>
> +#else
> +#include <signal.h>
> +#endif
> #include <asm/byteorder.h>
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
Powered by blists - more mailing lists