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
p->installed = 1;
#ifdef HAVE_PPOLL
+# ifdef __linux__
if (p->dont_use_ppoll)
return;
+# endif
if ((p->rtsig = pa_rtsig_get_for_thread()) < 0) {
pa_log_warn("Failed to reserve POSIX realtime signal.");
pa_rtpoll_item *i, *w;
struct pollfd *pollfd;
+#ifdef SIGRTMIN
pa_rtsig_configure(SIGRTMIN+10, SIGRTMAX);
+#endif
p = pa_rtpoll_new();