]> git.alsa-project.org Git - alsa-utils.git/commitdiff
alsaloop: fix wrong alias for signal.h
authorJaroslav Kysela <perex@perex.cz>
Tue, 23 Jul 2013 12:57:05 +0000 (14:57 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Jul 2013 12:57:05 +0000 (14:57 +0200)
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 <maillist-alsa@barfooze.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsaloop/alsaloop.c

index e1a36d23f4787d864960d23784d2cb9bae8daf48..20150ddec12fb4f6710576fcd11a0aa282a8ee18 100644 (file)
@@ -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 {