aboutsummaryrefslogtreecommitdiff
path: root/modules/pdp_theonice~.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pdp_theonice~.c')
-rw-r--r--modules/pdp_theonice~.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/pdp_theonice~.c b/modules/pdp_theonice~.c
index 6299fe6..f3a7225 100644
--- a/modules/pdp_theonice~.c
+++ b/modules/pdp_theonice~.c
@@ -64,6 +64,10 @@
#define STRBUF_SIZE 32
#define OGG_AUDIO_SIZE 1024
+#ifndef MSG_NOSIGNAL
+# define MSG_NOSIGNAL SO_NOSIGPIPE
+#endif
+
static char base64table[65] = {
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P',
'Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e','f',