summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@debian.org>2008-01-04 14:52:44 +0000
committerSjoerd Simons <sjoerd@debian.org>2008-01-04 14:52:44 +0000
commit9774cc79651d96df77f13338464d3e2b35d6dabc (patch)
tree33f51a6b6c3d413ccfe4f6199d28785595a21e74 /src/tests
parent1e74aa977ec0d5c6c61a8a38872eb35cd59d7899 (diff)
Add forgotted #ifdef __linux__ and only use SIGRTMIN if it is defined. Fixes
compilation on non-linux platforms like GNU/kFreeBSD. Thanks to Aurelien Jarno for the patch git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2095 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/rtpoll-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/rtpoll-test.c b/src/tests/rtpoll-test.c
index 3ab992a1..e6493771 100644
--- a/src/tests/rtpoll-test.c
+++ b/src/tests/rtpoll-test.c
@@ -49,7 +49,9 @@ int main(int argc, char *argv[]) {
pa_rtpoll_item *i, *w;
struct pollfd *pollfd;
+#ifdef SIGRTMIN
pa_rtsig_configure(SIGRTMIN+10, SIGRTMAX);
+#endif
p = pa_rtpoll_new();