Re: [PATCH] tools/usbip: fixes build with musl libc toolchain

From: Shuah Khan
Date: Wed Dec 06 2017 - 13:18:11 EST


On 12/05/2017 10:48 AM, julien.boibessot@xxxxxxx wrote:
> From: Julien BOIBESSOT <julien.boibessot@xxxxxxxxxxxx>
>
> Indeed musl doesn't define old SIGCLD signal name but only new one SIGCHLD.
> SIGCHLD is the new POSIX name for that signal so it doesn't change
> anything on other libcs.
>
> This fixes this kind of build error:
>
> usbipd.c: In function âset_signalâ:
> usbipd.c:459:12: error: 'SIGCLD' undeclared (first use in this function)
> sigaction(SIGCLD, &act, NULL);
> ^~~~~~
> usbipd.c:459:12: note: each undeclared identifier is reported only once
> for each function it appears in
> Makefile:407: recipe for target 'usbipd.o' failed
> make[3]: *** [usbipd.o] Error 1
>
> Signed-off-by: Julien BOIBESSOT <julien.boibessot@xxxxxxxxxxxx>
> ---

Thanks for the patch.

Greg,

Please pick this up.

Acked-by: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx>

thanks,
-- Shuah