summaryrefslogtreecommitdiffstats
path: root/polyp/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/core.c')
-rw-r--r--polyp/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/polyp/core.c b/polyp/core.c
index 539c6775..60439243 100644
--- a/polyp/core.c
+++ b/polyp/core.c
@@ -89,7 +89,9 @@ struct pa_core* pa_core_new(struct pa_mainloop_api *m) {
pa_random(&c->cookie, sizeof(c->cookie));
+#ifdef SIGPIPE
pa_check_signal_is_blocked(SIGPIPE);
+#endif
return c;
}