summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEero Nurkkala <eero.nurkkala@offcode.fi>2012-05-31 10:44:23 +0300
committerArun Raghavan <arun.raghavan@collabora.co.uk>2012-07-03 17:21:07 +0530
commitf231859ca9b6ed3fa244dcfdc3b462fed2c071ce (patch)
treef58cdf56e6245c43df4b6924521518710d488426
parent322d4a6bfbf0f851a0d033f2cfb926b49ac84278 (diff)
alsa-source: add missing header 'signal.h'
Compilation with -DDEBUG_TIMING fails due to a missing header: modules/alsa/alsa-source.c: In function 'check_left_to_record': modules/alsa/alsa-source.c:426:9: warning: implicit declaration of function 'raise' [-Wimplicit-function-declaration] modules/alsa/alsa-source.c:426: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-source.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/alsa/alsa-source.c b/src/modules/alsa/alsa-source.c
index 97092bb5..dfad8170 100644
--- a/src/modules/alsa/alsa-source.c
+++ b/src/modules/alsa/alsa-source.c
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#include <signal.h>
#include <stdio.h>
#include <asoundlib.h>