- Upstream fix: 0002-alsaloop-fix-wrong-alias-for-signal.h.patch OBS-URL: https://build.opensuse.org/request/show/197614 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=88
35 lines
933 B
Diff
35 lines
933 B
Diff
From 8f57464190eb683d9517d8cfbd2cefb6223c6f1d Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Kysela <perex@perex.cz>
|
|
Date: Tue, 23 Jul 2013 14:57:05 +0200
|
|
Subject: [PATCH] alsaloop: 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 <maillist-alsa@barfooze.de>
|
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
|
---
|
|
alsaloop/alsaloop.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c
|
|
index e1a36d2..20150dd 100644
|
|
--- a/alsaloop/alsaloop.c
|
|
+++ b/alsaloop/alsaloop.c
|
|
@@ -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 {
|
|
--
|
|
1.8.4
|
|
|