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
This commit is contained in:
Sjoerd Simons 2008-01-04 14:52:44 +00:00
parent 1e74aa977e
commit 9774cc7965
2 changed files with 4 additions and 0 deletions

View file

@ -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();