[pulseaudio-discuss] [PATCH v2 1/2] alsa-sink: add missing header 'signal.h'

David Henningsson david.henningsson at canonical.com
Thu May 31 05:29:12 PDT 2012


On 05/31/2012 09:44 AM, eero.nurkkala at offcode.fi wrote:
> From: Eero Nurkkala<eero.nurkkala at offcode.fi>
>
> Compilation with -DDEBUG_TIMING fails due to a missing header:

Thanks, both patched applied now.

>
> 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..cc83d40 100644
> --- a/src/modules/alsa/alsa-sink.c
> +++ b/src/modules/alsa/alsa-sink.c
> @@ -24,6 +24,7 @@
>   #include<config.h>
>   #endif
>
> +#include<signal.h>
>   #include<stdio.h>
>
>   #include<asoundlib.h>



-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


More information about the pulseaudio-discuss mailing list