From: John Spencer <maillist-alsa@barfooze.de>
To: alsa-devel@alsa-project.org
Subject: [PATCH] alsa-utils: fix wrong alias for signal.h
Date: Tue, 23 Jul 2013 03:57:54 +0200 [thread overview]
Message-ID: <51EDE322.8040407@barfooze.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
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>
[-- Attachment #2: alsa-utils_signal_h.patch --]
[-- Type: text/x-patch, Size: 341 bytes --]
--- alsa-utils-1.0.27.2.org/alsaloop/alsaloop.c 2013-07-23 01:48:03.592000003 +0000
+++ alsa-utils-1.0.27.2/alsaloop/alsaloop.c 2013-07-23 01:49:12.786000003 +0000
@@ -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 {
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next reply other threads:[~2013-07-23 2:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-23 1:57 John Spencer [this message]
2013-07-23 12:59 ` [PATCH] alsa-utils: fix wrong alias for signal.h Jaroslav Kysela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51EDE322.8040407@barfooze.de \
--to=maillist-alsa@barfooze.de \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.