[pulseaudio-discuss] [PATCH PA1.1 1/2] alsa-sink: add missing header

eero.nurkkala at offcode.fi eero.nurkkala at offcode.fi
Wed May 30 21:57:56 PDT 2012


From: Eero Nurkkala <eero.nurkkala at offcode.fi>

Compilation with -DDEBUG_TIMING fails due to a missing header:

modules/alsa/alsa-sink.c: In function 'check_left_to_play':
modules/alsa/alsa-sink.c:453:9: warning: implicit declaration of
function 'raise' [-Wimplicit-function-declaration]
modules/alsa/alsa-sink.c:453:9: error: 'SIGTRAP' undeclared (first
use in this function)

Signed-off-by: Eero Nurkkala <eero.nurkkala at offcode.fi>
---
 src/modules/alsa/alsa-sink.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c
index 066f2dd..3898191 100644
--- a/src/modules/alsa/alsa-sink.c
+++ b/src/modules/alsa/alsa-sink.c
@@ -25,6 +25,7 @@
 #endif
 
 #include <stdio.h>
+#include <signal.h>
 
 #include <asoundlib.h>
 
-- 
1.7.4.1



More information about the pulseaudio-discuss mailing list