summaryrefslogtreecommitdiffstats
path: root/polyp/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/core.c')
-rw-r--r--polyp/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/core.c b/polyp/core.c
index 80abe9fe..58035087 100644
--- a/polyp/core.c
+++ b/polyp/core.c
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
+#include <signal.h>
#include "core.h"
#include "module.h"
@@ -79,7 +80,7 @@ struct pa_core* pa_core_new(struct pa_mainloop_api *m) {
c->module_idle_time = 20;
c->scache_idle_time = 20;
- pa_check_for_sigpipe();
+ pa_check_signal_is_blocked(SIGPIPE);
return c;
}