[pulseaudio-discuss] [PATCH 1/2] tests: Include signal.h in core-util-test.c

Peter Meerwald pmeerw at pmeerw.net
Wed Aug 10 13:22:15 UTC 2016


From: Peter Meerwald <p.meerwald at bct-electronic.com>

on oldish Ubuntu 12.04:
tests/core-util-test.c: In function ‘main’:
tests/core-util-test.c:269:66: error: ‘SIGABRT’ undeclared (first use in this function)
     tcase_add_test_raise_signal(tc, modargs_test_replace_fail_1, SIGABRT);

Signed-off-by: Peter Meerwald-Stadler <pmeerw at pmeerw.net>
---
 src/tests/core-util-test.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/tests/core-util-test.c b/src/tests/core-util-test.c
index c8e0fae..8d1db0c 100644
--- a/src/tests/core-util-test.c
+++ b/src/tests/core-util-test.c
@@ -19,6 +19,8 @@
 #include <config.h>
 #endif
 
+#include <signal.h>
+
 #include <check.h>
 
 #include <pulse/xmalloc.h>
-- 
2.9.2



More information about the pulseaudio-discuss mailing list