summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEero Nurkkala <eero.nurkkala@offcode.fi>2012-05-31 10:44:22 +0300
committerArun Raghavan <arun.raghavan@collabora.co.uk>2012-07-03 17:21:00 +0530
commit322d4a6bfbf0f851a0d033f2cfb926b49ac84278 (patch)
treea8ae45acde1e8838de3699411af61c11c8cab34c
parent1a9a4076a2548dda75daa67db0b4f71821a98091 (diff)
alsa-sink: add missing header 'signal.h'
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@offcode.fi>
-rw-r--r--src/modules/alsa/alsa-sink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c
index c3d18e39..1bee8f3d 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>