alsa-utils: fix wrong alias for signal.h
PATCH 1/1 alsa-utils: fix wrong alias for signal.h
in POSIX, there is no <sys/signal.h>.
it's merely a legacy alias used by glibc, and the header does nothing else than including <signal.h>.
so let's do the right thing and use the right name, which works everywhere.
Signed-off-by John Spencer <[email protected]>
alsaloop/alsaloop.c +1 -1
@@ -31,7 +31,7 @@#include <math.h> #include <pthread.h> #include <syslog.h> -#include <sys/signal.h> +#include <signal.h> #include "alsaloop.h" struct loopback_thread {
Jaroslav Kysela
AppliedQuoted 8 lines · John Spencer
in POSIX, there is no <
sys/signal.h>.it's merely a legacy alias used by glibc, and the header does nothing else than including <
signal.h>.so let's do the right thing and use the right name, which works everywhere.
Signed-off-by John Spencer <[email protected]>
I applied this patch to our git repo. Thanks.
Jaroslav
Signature · 3 lines
Jaroslav Kysela <[email protected]> Linux Kernel Sound Maintainer ALSA Project; Red Hat, Inc.