[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 5/7] tools/blktap2: Update sys/signal.h to signal.h



On Fri, Dec 16, 2016 at 02:56:05PM -0800, Alistair Francis wrote:
> To avoid this build error with newer build systems:
>     error: #warning redirecting incorrect #include <sys/signal.h> to
>            <signal.h> [-Werror=cpp]

And what is the 'newer build system' you speak off?

Thanks!
> 
> Rename sys/signal.h to signal.h
> 
> Signed-off-by: Alistair Francis <alistair.francis@xxxxxxxxxx>
> ---
>  tools/blktap2/drivers/tapdisk-server.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/blktap2/drivers/tapdisk-server.c 
> b/tools/blktap2/drivers/tapdisk-server.c
> index eecde3d..71315bb 100644
> --- a/tools/blktap2/drivers/tapdisk-server.c
> +++ b/tools/blktap2/drivers/tapdisk-server.c
> @@ -30,7 +30,7 @@
>  #include <unistd.h>
>  #include <stdlib.h>
>  #include <sys/ioctl.h>
> -#include <sys/signal.h>
> +#include <signal.h>
>  
>  #include "tapdisk-utils.h"
>  #include "tapdisk-server.h"
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> https://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.