summaryrefslogtreecommitdiffstats
path: root/stream/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'stream/network.h')
-rw-r--r--stream/network.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/stream/network.h b/stream/network.h
index b842b1ed24..897f697304 100644
--- a/stream/network.h
+++ b/stream/network.h
@@ -39,6 +39,12 @@
#include "url.h"
#include "http.h"
+#ifdef MSG_NOSIGNAL
+#define DEFAULT_SEND_FLAGS MSG_NOSIGNAL
+#else
+#define DEFAULT_SEND_FLAGS 0
+#endif
+
#if !HAVE_CLOSESOCKET
#define closesocket close
#endif