Re: [Xen-devel] [PATCH 2/2] tools: Use POSIX signal.h instead of sys/signal.h

2017-04-18 Thread Wei Liu
On Tue, Apr 18, 2017 at 01:16:04PM +0300, Razvan Cojocaru wrote: > On 04/18/2017 01:03 PM, Wei Liu wrote: > > On Mon, Apr 17, 2017 at 02:33:11PM -0700, Alistair Francis wrote: > >> The POSIX spec specifies to use: > >> #include > >> instead of: > >> #include > >> as seen here: > >>

Re: [Xen-devel] [PATCH 2/2] tools: Use POSIX signal.h instead of sys/signal.h

2017-04-18 Thread Razvan Cojocaru
On 04/18/2017 01:03 PM, Wei Liu wrote: > On Mon, Apr 17, 2017 at 02:33:11PM -0700, Alistair Francis wrote: >> The POSIX spec specifies to use: >> #include >> instead of: >> #include >> as seen here: >>http://pubs.opengroup.org/onlinepubs/009695399/functions/signal.html >> >> This

Re: [Xen-devel] [PATCH 2/2] tools: Use POSIX signal.h instead of sys/signal.h

2017-04-18 Thread Wei Liu
On Mon, Apr 17, 2017 at 02:33:11PM -0700, Alistair Francis wrote: > The POSIX spec specifies to use: > #include > instead of: > #include > as seen here: >http://pubs.opengroup.org/onlinepubs/009695399/functions/signal.html > > This removes the warning: > #warning redirecting

[Xen-devel] [PATCH 2/2] tools: Use POSIX signal.h instead of sys/signal.h

2017-04-17 Thread Alistair Francis
The POSIX spec specifies to use: #include instead of: #include as seen here: http://pubs.opengroup.org/onlinepubs/009695399/functions/signal.html This removes the warning: #warning redirecting incorrect #include to when building with the musl C-library. Signed-off-by: Alistair